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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Valueloop

Hello All,

Could you please help me with the expression below:

Sum(Valueloop(0,(Count(DISTINCT {<FirstAgent={'<>0'}>}(Agent))/Count(DISTINCT(Date))),2))

The value loop does not seem to function with "(Count(DISTINCT {<FirstAgent={'<>0'}>}(Agent)"

Any idea?

Many Thanks,

Hasvine

Labels (1)
2 Replies
sunny_talwar
MVP
MVP

Is the number suppose to change for each dimension? If that's true, then it might not work. If it is a single number for all the dimensions, you can try this:


Sum(Valueloop(0, $(=(Count(DISTINCT {<FirstAgent={'<>0'}>}Agent)/Count(DISTINCT Date))), 2))

antoniotiman
Master III
Master III

FirstAgent-={0}