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: 
gauravgg
Partner - Creator
Partner - Creator

Selection should not effect ?

Hi

I have the following two expression

count(distinct{<Part={"=count(Part)=Max(TOTAL Aggr(Count(Part),Part))"}>}Part)

count(Aggr(if(Count(DISTINCT [FG Desc]&PLANT) =1,Part),Part))

I dont want the effect of selection for a perticular field on that expressions

can anyone help me

thanks in Advance

Labels (1)
24 Replies
Kushal_Chawda
MVP
MVP

for 1st expression try below

count(distinct aggr( if(count({1}Part)=Max({1} TOTAL Aggr(Count({1}Part),only({1}Part))),only{{1}Part)),only{{1}Part)))

Kushal_Chawda
MVP
MVP

sunny seems like there is calculated dimension as well in chart

sunny_talwar
MVP
MVP

That's what I wonder... is this a calculated dimension here?

gauravgg
Partner - Creator
Partner - Creator
Author

Hi sunny

I have a  composite field (i.e Model &'-'& Plant) in dimension which is created on the fly

this Model and Plant field are in two different table.

Kushal_Chawda
MVP
MVP

may be use below in dimension and expression suggested above should work

=aggr(only({1}Model),Model) &'-'& aggr(only({1}Plant),Plant)