Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
wanyunyang
Creator III
Creator III

How to make the number (with set analysis) don't change with filters

Hi guys,

 

I have a formula like this:

sum({<Year={'2020'},Month={'July'}>} Sales). 

 

Currently, if I select Year = 2020 and Month= August, the result turns 0. How can I make the result fixed and don't change with the filters?

 

Thank you in advance!

2 Replies
Kushal_Chawda

@wanyunyang 

sum({<Year,Month,Year={'2020'},Month={'July'}>} Sales). 

Vegar
MVP
MVP

Your selections should not give you a zero result. Are you sure that you are not making any other calendar dimension selections, like in a Year-month field or similar?

If you are making such selections then you will need to cancel them out in your set expression like this. 

sum({<[Year-month], Year={'2020'},Month={'July'}>} Sales)

Good luck solving your issue.