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: 
youss123
Contributor III
Contributor III

Calculated dimension addmonths

Hello All,

I created a graph with monthyear between today-26 and today-13 with this caculated dimension : 

If([Date - Monthyear] < AddMonths(Max(TOTAL [Date - Monthyear]), -13),
If([Date - Monthyear] > AddMonths(Max(TOTAL [Date - Monthyear]), -26),[Date - Monthyear]))

 

The graph is correct like you can see below but when I want to make selections some of them don't work and show that there is no data to display .

youss123_0-1679569598793.png

Thank you in advense for your response

2 Replies
Aditya_Chitale
Specialist
Specialist

add the selection fields along with calculated dimension in a straight table and see if the calculated dimension values are  present for the field value selections.

Regards,

Aditya

youss123
Contributor III
Contributor III
Author

Thank you for your response Aditya_Chitale , wen

before selecting

youss123_1-1679576985655.png

after selecting 

youss123_0-1679576948159.png