Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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