Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

different expressions in table column

Hi

my problem seems of low interest, maybe I use the wrong titles

Any way to create a table showing values like

KPIValue
EBIT= sum(EBIT_Detail)
EBIT %= sum(EBIT_Detail) / sum(yield_Detail)

It's required that the % is in the same column (as I will have more rows with individual expressions)

I have an excel like grid in mind where I can set the cells content / formula

Juerg

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

load a dummy table like

load* inline[

KPI

EBIT
EBIT%

]

and use a straight table with dimension as KPI and use expression if(  KPI=EBIT,sum(EBIT_detail),if(KPI= EBIT%,sum(EBIT_Detail) / sum(yield_Detail)))

View solution in original post

2 Replies
Anonymous
Not applicable
Author

load a dummy table like

load* inline[

KPI

EBIT
EBIT%

]

and use a straight table with dimension as KPI and use expression if(  KPI=EBIT,sum(EBIT_detail),if(KPI= EBIT%,sum(EBIT_Detail) / sum(yield_Detail)))

Not applicable
Author

That is more or less what I tried but it does not work because - as I assume - the evaluation of the formula condition does not happen on the row level?

I think now about aligning text boxes into a gridlike layout - will cost me the selection feature however.

Correction:

Sorry - I was wrong.

What I tried was using a sequence number and =pick(sequence, <expr1>,<expr2>...)

and

multiple expressions with the conditions sequence=1, sequence=2

which did not work.

It does however work with the multiple if's.

Juerg