Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Loop in Script

Hiya All

Something New...Loops

I have the following in a script and want to loop and say

Per Dimension Count ( Distinct(Acct)) where Dimension is greater than 0


The following numbers below are field names not values, although they contains values.


I am inner joining this to a Group

So example

LOAD Acct,

     [0],

Count(Distinct(Acct)) where [0]  > 0 as Current Month

     [1],

Count(Distinct(Acct)) where [1]  > 0 as Month1

     [2],

     [3],

     [4],

     [5],

  all the way to 72!

1 Reply
Chanty4u
MVP
MVP

so what do you want?

expected output?