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: 
Anonymous
Not applicable

Calculated Dimension

Hi All,

I am trying to use percentage calculation in my visualization as a dimension.

((Curr_Value-Pre_Value)/Prev_Value)*100

How can I do it?

Thanks

12 Replies
MK9885
Master II
Master II

what is vCurr and vPrev?

I mean what expression o these variables have?

Anonymous
Not applicable
Author

Hey S,

To make it easy, I made these variables as vchange which will give me a percentage value.There is no dimension to use it.I wanted to use this in my alternated dimension and I have 6 different measures...Count of x,count of y,Sum (x+y),count of M,count of D across bar chart.

How can we do it?

MK9885
Master II
Master II

Can we have sample data please?

It is hard to understand...

All I understood is you are looking to create a new dimension from that measure

But what is the expression used in those variables? Not sure if there is a possibility to create a calculated dimension in script.