Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
alec1982
Specialist II
Specialist II

Pct of total of each dim

hi all,

I am having challenge building a chart in qliksense to show pct of total values of each dimension

I am able to build it in QlikView (File Attached) and the values are accurate but not able to replicate in sense..

Anyone can help...

Thanks,

Alec

1 Solution

Accepted Solutions
Anonymous
Not applicable

See the attached QVf file showing both charts . May be you will understand the difference.

View solution in original post

8 Replies
alec1982
Specialist II
Specialist II
Author

still not able to fix it.. I appreciate it if anyone has an idea..

Anonymous
Not applicable

can you also share your QVF file

sunny_talwar

What is the issue you are running into? The same dimension and expressions in Qlik Sense don't work?

alec1982
Specialist II
Specialist II
Author

the values of the pcts are not the same even I am using the same table as a source and same dimensions and expression

the values on QlikView are accurate and the values on Sense are wrong.

sunny_talwar

That should not happen, but as Vinay mentioned, would you be able to share a sample qvf where we can see the difference?

Anonymous
Not applicable

alec1982

you are right both tools are interpreting in different manner. This is what the solution is instead of calculated dimension use set analysis.

your dimensions should be like this

range

name

measure:

count({$<Active_Flag={'1'},range-={'Unknown','above $61'}>}Active_Flag)/

count({$<Active_Flag={'1'},range-={'Unknown','above $61'} >}total <range>  Active_Flag)

you will get the right pct totals. The reason is when you give calculated dimension in qlik sense the supress null values is not working properly which could be a bug in qlik sense. Learnt a new thing from this post.

Anonymous
Not applicable

See the attached QVf file showing both charts . May be you will understand the difference.

alec1982
Specialist II
Specialist II
Author

thank you for the help!