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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources 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
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?