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

Calculating column percentage with 2 identifiers

Hi everyone, I have a little issue...

I must caluclate the percentage of the column, but considering two identifiers. the formula I'm using at the moment is


=Sum ([QTA 1 Ordini Cliente])/Sum (TOTAL <[Descrizione Linea]> [QTA 1 Ordini Cliente])

where <[Descrizione Linea]> is my identifiers. I should get something like that

=Sum ([QTA 1 Ordini Cliente])/Sum (TOTAL <[Descrizione Linea]> AND <Other identifier> [QTA 1 Ordini Cliente])


i have attached two pictures to exaplain a little better what I need, so I hope I have been clear enough...

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

Try


Sum ([QTA 1 Ordini Cliente])/Sum (TOTAL <[Descrizione Linea],[Other identifier]> [QTA 1 Ordini Cliente])


Let me know

View solution in original post

4 Replies
MK_QSL
MVP
MVP

=Sum ([QTA 1 Ordini Cliente])/Sum (TOTAL <[Descrizione Linea],Other identifier> [QTA 1 Ordini Cliente])

alexandros17
Partner - Champion III
Partner - Champion III

Try


Sum ([QTA 1 Ordini Cliente])/Sum (TOTAL <[Descrizione Linea],[Other identifier]> [QTA 1 Ordini Cliente])


Let me know

Not applicable
Author

thank you Alessandro Saccone! I was writing

=Sum ([QTA 1 Ordini Cliente])/Sum (TOTAL <[Descrizione Linea]>,<[Other identifier]> [QTA 1 Ordini Cliente])

I didn't realize both the identifiers must be within <>!


Many thanks!

alexandros17
Partner - Champion III
Partner - Champion III

Di niente Irene ... buon lavoro!