Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Date Condition

Hello dear community,

Can someone help me to create a condition about the date where date = Today -29days

11 Replies
petter
Partner - Champion III
Partner - Champion III

Where should this condition be applied?

- In an expression for a measure?

- For filtering out dates in a date dimension+

- Will it be used in the load script?

- Will it be used in your visualization?

ecolomer
Master II
Master II

You con write:

=date(today()-29,'DD/MM/YYYY')

P_fecha.png

Anonymous
Not applicable
Author

It will be used in the load script

Anonymous
Not applicable
Author

p1.PNG

Anonymous
Not applicable
Author

p2.PNG

Anonymous
Not applicable
Author

Thank you for your answer but I have this error above in the pictures

ecolomer
Master II
Master II

In the script ...

where Date > date(Today() - 29)

chinnuchinni
Creator III
Creator III

you can check with your Date field  format, your Date  Field  should be same as your condition date format.


or else you can upload the sample app.


sasiparupudi1
Master III
Master III

Try

define a variable in script

Let vFilterDate=Date(today()-29,'DD/MM/YYYY');

in the where condition, use as below

Date>'$(vFilterDate)'