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: 
datanibbler
Champion
Champion

Display a value in a crosstable as a % value

Hi,

I have created a progress_tracker to visualize the status of the project. The absolute numbers are correct and the chart looks fine. Now I want to do the same, displaying % values - e.g. for one area (x-axis), there are four reports, two of them are done, so that should be 50%.

Can anybody lend me a hand here? For some reason, the relative values are garbage.

Thanks a lot!

Best regards,

DataNibbler

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You'll need to use the total keyword in your expression I think.

sum(Amount)/sum(total Amount) will calculate the % of the total over all dimensions of the chart.

If you need the percentage over a specific dimension(s) you'll need to include the dimension name(s) between < and > characters. For example sum(Amount)/sum(total <Product> Amount).


talk is cheap, supply exceeds demand
Not applicable

This is working and so simple..Thnx Gysbert