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: 
sanjujeeboy
Creator
Creator

Dynamic Dimension

Hi All,

i have a DImension "Category" which has values A,B,C,D,E  and Measure "Sales"

my requirement is that in the pivot table by default A & B should always show. When user selects C, then A & C should show

similary for D, A&D and for E , A&E

 

how to achieve this  in qliksense?

Thanks

Labels (1)
2 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Try this expression.

Sum({<Category= {"A"}>+<Category= {"$(=If(Getselectedcount(Category)=0,'B',Maxstring(Category)))"}> }Sales)

 

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
sanjujeeboy
Creator
Creator
Author

i need this in calculated dimensions. can you help in this?