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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
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!

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/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

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
Partner Ambassador/MVP
Partner Ambassador/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

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