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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources 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

1 Solution

Accepted Solutions
sunny_talwar

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

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

sunny_talwar

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