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

Announcements
Join us at Qlik Connect 2026 in Orlando, April 13–15: Register Here!
cancel
Showing results for 
Search instead for 
Did you mean: 
arusanah
Creator II
Creator II

help with calculated dimension for SimpleKPI in qliksense

i am  using following expression to create value list  for simpleKPI in my app. But it says invalid dimension. I cannt replicate issue but it says invalid dimension

valueloop(1, count( distinct <Field Name>))

can anybody suggest what is error

5 Replies
jayaseelan
Creator III
Creator III

Hi,

   Please share the screen short for more clarity.

tresB
Champion III
Champion III

Try like:

valueloop(1, $(=count( distinct <Field Name> FieldName2)))

arusanah
Creator II
Creator II
Author

what is <field Name 2>, I am loading dimensions dynamically

tresB
Champion III
Champion III

In that case field2 would not be required. Just try like:  valueloop(1, $(=count( distinct YourField)))

simondachstr
Specialist III
Specialist III

Hey!

While you're at it, have a look at Vizlib's new supported KPI designer:

https://www.vizlib.com/kpi/

Keen to hear your thoughts!

Best,

Martin