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: 
Not applicable

Linear guage Max value

Hi again


This is baffling me.  I have this SUM formula that works in my model:

sum({<Group = {'$(=Concat(if(aggr(rank(sum([PO count])),Group)=1,Group,null()), chr(39) & ',' & chr(39)))'} >} [PO count]) * 1.02


However, the COUNT equivalent is giving me problems.


I have created a small demo (attached) to show you more detail.


Any help is as usual very appreciated.


Oli


1 Solution

Accepted Solutions
Clever_Anjos
Employee
Employee

you need an extra ')'

=count(

{<Type={'$(=concat(if(aggr(rank(count(distinct Supplier)), Type)=1,Type,null())))'}

>}

distinct Supplier) * 1.02

View solution in original post

2 Replies
Clever_Anjos
Employee
Employee

you need an extra ')'

=count(

{<Type={'$(=concat(if(aggr(rank(count(distinct Supplier)), Type)=1,Type,null())))'}

>}

distinct Supplier) * 1.02

Not applicable
Author

Thank you