Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Aspiring_Developer
Specialist
Specialist

Show data only or last 35 days in straight table without any set expression

Hi All,

I have below straight table and it does not have any measures in it.

Dimension - EMS_Report_Date

Aspiring_Developer_0-1653551517147.png

I need to restrict the first column i.e EMS_Report_Date in order to show data only for last 30 days. I know the way to achieve it with expression but here I don't have any measure so I'll have to restrict the EMS_Report_Date dimension but not able to do that.

Can anyone please help ?

 

Thanks in advance

@sunny_talwar

Labels (1)
1 Solution

Accepted Solutions
justISO
Specialist
Specialist

just add additional condition

=if( EMS_Report_Date>=date(today()-30) and EMS_Report_Date<=today(), EMS_Report_Date)

View solution in original post

3 Replies
justISO
Specialist
Specialist

Hi, maybe instead of just 'EMS_Report_Date' put simple

=if( EMS_Report_Date>=date(today()-30), EMS_Report_Date)

and uncheck 'Include null values' in this fields properties

Aspiring_Developer
Specialist
Specialist
Author

Hello @justISO 

Thanks for your response.

My EMS Report date has data till December .

Aspiring_Developer_0-1653556861677.png

I wish to show data till current date only .

Thanks in advance

justISO
Specialist
Specialist

just add additional condition

=if( EMS_Report_Date>=date(today()-30) and EMS_Report_Date<=today(), EMS_Report_Date)