How do i filter graphs data based on date?

Dear all,

I am trying to change the data that is displayed on my graph depending on the date.

for example i want to be able to choose a date using 2 date pickers and the graph displays data that was reported between these two dates.

I have tried to do this but i keep getting this error:
image

This is how i am doing it:

Does anyone have any ideas?

Thank you :slight_smile:

Hey @pl1 :wave:

The errors you are getting is not coming from the conditional tab. You should fix them in the apperance tab. Probably, you tried to do a grouping over there. And forget to fill some field.

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble

1 Like

Hi @flusk

When I fix the problem in appearance, i get this new error:
image

and my condition stops working as well:
image

Thank you :slight_smile:

Please share your apperance tab as well so I can figure out the problem. I think you should not use conditional for this task. The regular data source with a do search and constraints should be enough.

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble

@flusk This is my appearance tab

Then the constraints in the first search for should work. Why do you need a conditional?

And even if you need conditional, you should change the data source similar to this tab, which means group by.

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble

But if i want to change the date range with the date selectors, how do i that?

In the constraints of the do a search for. This is where all the filtering is done as much as possible.

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble

Thank you for the help!

1 Like