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: 
devarasu07
Master II
Master II

Calculated measure issue

Hi,

I'm try to get below output using below expression  and got null value for one condition can you advise me

aggr(count([Opening SOH]),ArticleNo,Color)/aggr( count(total [Opening SOH]),ArticleNo,Color)

Capture.JPG

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Try this

Dimension

=Aggr(If(Count([Opening SOH])/Count(TOTAL [Opening SOH]) < 0.25, '< 4 Sizes', '>4 Sizes'), ArticleNo, Color)

Expression

Count([Opening SOH])/Count(TOTAL [Opening SOH])

Capture.PNG

View solution in original post

2 Replies
sunny_talwar
MVP
MVP

What is your dimension? It seems to be a calculated dimension and I am not sure what that is?

sunny_talwar
MVP
MVP

Try this

Dimension

=Aggr(If(Count([Opening SOH])/Count(TOTAL [Opening SOH]) < 0.25, '< 4 Sizes', '>4 Sizes'), ArticleNo, Color)

Expression

Count([Opening SOH])/Count(TOTAL [Opening SOH])

Capture.PNG