Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
bhavyad
Contributor
Contributor

create a button to select 7days before/10days before data


Hi Team,

 

I have the data set based the on the date it occured(fieldname is Occurred) and I would like to create a button when clicked to show last 7days,last 15days, last 30days data 



can someone guide with the steps

Labels (1)
5 Replies
Gabbar
Specialist
Specialist

Create a variable provide 1 in definition so to select 1 by default,
USe a variable input to define 3 variable values for each selection, 
and then use pick function to pick value of the variable.
Use that variable in the Set expression.

bhavyad
Contributor
Contributor
Author

Could you please explain me how to create variable and how to input

vikasmahajan

Hi ,

Please find attached solution

vikasmahajan_0-1685341805341.png

create 30 days button at your end

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
bhavyad
Contributor
Contributor
Author

I want to use the input box, user enters the date/like >7days then data should reflect, may I know how do we do that?

vikasmahajan

attached solution

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.