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: 
qlikviewwizard
Master II
Master II

multiple measure columns in a report

Hi All,

I have different products like p1,p2,p3,p4,p5,p6 and so on....

If I select p1 product, report should show 3 measure columns like p1Actual,p1 Budget, p1%

If I select p2 product, report should show 6 measure columns like p1Actual,p1 Budget, p1%,p2Actual,p2 Budget, p2%.

.

.

.

If I select pn product, report should show n+1 measure columns like pnActual,pn Budget, pn%,pn+1 Actual,pn+1 Budget, pn+1 %.


        

EMPNOENAMEJOBMGRHIREDATEp1 Actualp1 Budgetp1 %p2 Actualp2 Budgetp2 %
1ENAME1CLERKENAME112013011211005000221100450024.44444
2ENAME2SALESMANENAME32011022016005000321600450035.55556
3ENAME3MANAGERENAME82011050128505000572850450063.33333
4ENAME4MANAGERENAME82011060924505000492450450054.44444
5ENAME5ANALYSTENAME72011120330005000603000450066.66667
6ENAME6CLERKENAME320111203950500019950450021.11111
7ENAME7MANAGERENAME8201104022975500059.52975450066.11111
8ENAME8PRESIDENTNULL201111175000500010050004500111.1111
9ENAME9SALESMANENAME32011092812505000251250450027.77778
10ENAME10CLERKENAME42012012313005000261300450028.88889
11ENAME11ANALYSTENAME72012120930005000603000450066.66667
12ENAME12CLERKENAME520101217800500016800450017.77778
13ENAME13SALESMANENAME32011090815005000301500450033.33333
14ENAME14SALESMANENAME32011022212505000251250450027.77778

How to achieve this?


Thanks in advance.

1 Solution

Accepted Solutions
marcus_sommer

I think you could use a normal pivot with your five vertical dimensions and the product-dimension and your measures draged you horizontally to the top left from the pivot. But the width from the chart will be by more than 4/5/6... products not really practical ...

- Marcus

View solution in original post

7 Replies
Not applicable

you need to play around with Hide\Show of columns based on the variables or Get current selected value for the field Product.

marcus_sommer

I think you could use a normal pivot with your five vertical dimensions and the product-dimension and your measures draged you horizontally to the top left from the pivot. But the width from the chart will be by more than 4/5/6... products not really practical ...

- Marcus

qlikviewwizard
Master II
Master II
Author

Any answers please?

marcus_sommer

Have you tried my suggestion?

- Marcus

qlikviewwizard
Master II
Master II
Author

Could you help me to provide qvw, please.

Thanks in advance.

marcus_sommer

You need only to drag the dimensions/expression to this place that you want - left-mouse-key click and press on the dimension/expression-header and then drag them and a blue-line appeared showing where you are. If it's not worked have a look on the tab presentation - there is an option to enable/disable the feature.

- Marcus

qlikviewwizard
Master II
Master II
Author

Hi Marcus,

Thank you for your solution, I do it and reply.