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: 
Not applicable

Pivot Table Ratio

Hi All,

Good Day.

I want to create a pivot table with one dimension and two expression. dimension is airline name and the expressions are incentive and percentage of incentive.

I have attached the format. My Dimesnion is airplane_name and expressions are sum(TICKET_INC)  and SUM(TICKET_INC)/ SUM(Total TICKET_INC)

I want to remove some airlines that i have written a condition in the dimension, but when i give the option suppress when value is null, i am not getting the 100% in total ration.

Could any one let me know whats the solution..

thanks and Regards

4 Replies
MK_QSL
MVP
MVP

What is the condition you have written in Dimension?

Without knowing that, It is difficult to give you answer..

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try these expressions:

  • SUM({<airplane_name={'*'}>}TICKET_INC)
  • SUM({<airplane_name={'*'}>}TICKET_INC)/SUM({<airplane_name={'*'}>}Total TICKET_INC)

talk is cheap, supply exceeds demand
Not applicable
Author

Kindly find it as closed!

qliksus
Specialist II
Specialist II

If you are using a Straight table with the relative option checked this should work automatically

Or you may use the expression suggested above