Qlik Community

Ask a Question

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Our May 2021 end-to-end product release from Data Integration to Data Analytics is out! READ DETAILS
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 (4)
0 Replies