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

Adding Custom Dimension

Hi All

In attached QV how do I add custom Variance (Q1-14 - Q2-14) column. Here Q1-14, Q2-14 are dimensionsCapture.PNG

Thanks

Labels (1)
1 Solution

Accepted Solutions
pokassov
Specialist
Specialist

Hi Satish!

If I understood you correctly, you can:

1. change your expression

if(SecondaryDimensionality()=2,Sum(Amt), Sum({$<QtrHead={'$(=MinString(QtrHead))'}>} Amt)-Sum({$<QtrHead={'$(=MaxString(QtrHead))'}>} Amt))

2. set on the Presentation tab "Show Partial Sums"

And then you will be able to see your chart in the following way:

View solution in original post

4 Replies
buzzy996
Master II
Master II

on expression tab u can create "Q1-14 ,Q2-14 ..etc"and play with rows & columns to move

Anonymous
Not applicable
Author

Hi Shiva

I appreciate your reply.

In this case dimensions are not static

pokassov
Specialist
Specialist

Hi Satish!

If I understood you correctly, you can:

1. change your expression

if(SecondaryDimensionality()=2,Sum(Amt), Sum({$<QtrHead={'$(=MinString(QtrHead))'}>} Amt)-Sum({$<QtrHead={'$(=MaxString(QtrHead))'}>} Amt))

2. set on the Presentation tab "Show Partial Sums"

And then you will be able to see your chart in the following way:

Anonymous
Not applicable
Author

Dear friend

I appreciate your answer, it's really helpful

Thanks