Skip to main content
Announcements
Join us on Sept. 17 to hear how our new GenAI Assistant empowers data professionals: REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Satish251
Partner - Contributor II
Partner - Contributor II

Pivot Table

Hello All,

with below attached data i am trying to create pivot table as 

dim - Dim1 -> dim2 -> dim3 

measure - measure 1  -> measure 2

and in appearance only intended rows is selected  and give me resulat as follows.

Satish251_0-1702002120983.png

if i expand 1 dim then it shows only dim2 value and dim1 value blank and if i expand till dim3 then measure value for dim1 & 2 shows blank , only shows dim3 value.

Default as Measure value for Dim1,

on 1st expand measure shows value for dim2 of respective dim1

and 2nd expension measure shows values of dim3 of respective dim1 and dim 2

as below images 

dim1

Satish251_1-1702002330244.png

dim2 : 

Satish251_2-1702002354113.png

dim 3 :

Satish251_3-1702002387257.png

 

 

 

 

 

7 Replies
Lisa_P
Employee
Employee

You can use the dimensionality function to decide what to show based on how deep you have expanded into the dimensionality of the chart.

eg if(dimensionality()=1, ...,

)

PrashantSangle

try with dimensionality() and secondarydimensionality()

https://help.qlik.com/en-US/qlikview/May2023/Subsystems/Client/Content/QV_QlikView/ChartFunctions/In...

SecondaryDimensionality()

https://help.qlik.com/en-US/qlikview/May2023/Subsystems/Client/Content/QV_QlikView/ChartFunctions/In...

 

Regards,

Prashant Sangle

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Satish251
Partner - Contributor II
Partner - Contributor II
Author

Can someone help me with expression

Lisa_P
Employee
Employee

Lisa_P_0-1702262167927.png

 

Satish251
Partner - Contributor II
Partner - Contributor II
Author

I have to use Both measure together , check attached images if dimension is expanded then inner dimension value is available and above value should show blank 

 

Lisa_P
Employee
Employee

If you turn off Indent Rows in Presentation section of properties, it will look like this:

Lisa_P_1-1702264644015.png

 

Satish251
Partner - Contributor II
Partner - Contributor II
Author

hello lisa,

thanks for your solution,

please find below referance image , i am treying to achive this 

Satish251_0-1702264821482.png

in above image dim1 and dim2 dim3 is expanded and its respective measure value m1 m2 for dim1 and dim2 is blank