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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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
MVP
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?