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: 
benjamin_schulz
Contributor II
Contributor II

Pivot Table: Calculated Rows

Hi everyone,

 

i have some trouble with pivot tables.
I have already a pivot table where I show some values.
Now I want to have a second table where I show the relative difference to the selected reference (image below).

I already have a solution but I'm not happy with that. 

table_trouble.jpgthats my try but it doesnt work.

=(Avg({<'$(dimension_selection)'={'$(reference_picker)'}>}Accuracy)-Avg(Accuracy))/Avg({<'$(dimension_selection)'={'$(reference_picker)'}>}Accuracy)

 

 

 

my working solution is based on sorting and "Top()" function. I sort the reference on top of the pivot table and have

=(-Top(Avg(Accuracy))+Avg(Accuracy))/Top(Avg(Accuracy))

 as measure. But I want the reference sorted logically. 

trouble_table_working_bearbeitet.JPG

thats working, but not how I want it to be.

 

Somebody has an idea how it could work in Qlik Sense?

Thanks in advance.

 

Greets

Benjamin

Labels (2)
0 Replies