Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I want to ask the community for some help using qlik view with regards to nested for statements
For example if I have a DB list I have passed into qlik view as :
123456,
54321,
66789,
1090,
54321
how can I use a nested for in qlik view to look at a if at a time and get the count, there are two ids of 123456 for example
thanks and I look forward to your replies
kind regards
You would generally not use a loop to calculate this, but rather a Group By in script or a Dimension in a chart.
In script:
LOAD Id, Count(Id) as IdCountfrom...Group By Id;
In a chart:
Dimension: IDMeasure: Count(ID)
-Robhttp://www.easyqlik.comhttp://masterssummit.comhttp://qlikviewcookbook.com