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: 
fcecconi
Partner - Creator III
Partner - Creator III

Dimension Groups

I have create a dimension group that cycles throw Year, Quarter, Month.  I am trying to create a percentage bar chart, the chart looks like it is working, but when I examine the expression it says there is an error.

Here is my expression

Sum(AENETWR) /  Sum (TOTAL <OrderDate> AENETWR)

OrderDate is my Dimension Group.

thanks!

Labels (1)
1 Solution

Accepted Solutions
rwunderlich
MVP
MVP

You can substitute in the current group field with:

Sum(AENETWR) /  Sum (TOTAL <$(=GetCurrentField(OrderDate))> AENETWR)


-Rob

http://masterssummit.com

http://qlikviewcookbook.com

View solution in original post

5 Replies
sunny_talwar
MVP
MVP

You cannot use group name as a field name within < >

prabhu0505
Specialist
Specialist

TOTAL keyword by default considers the active dimension so below expression should work fine.


Sum(AENETWR) /  Sum (TOTAL AENETWR)

rwunderlich
MVP
MVP

You can substitute in the current group field with:

Sum(AENETWR) /  Sum (TOTAL <$(=GetCurrentField(OrderDate))> AENETWR)


-Rob

http://masterssummit.com

http://qlikviewcookbook.com

fcecconi
Partner - Creator III
Partner - Creator III
Author

Thanks Rob!

sunny_talwar
MVP
MVP

I never knew that this would work. Thanks for sharing this idea Rob.