Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Alternate States combining rows

Hi,

I have three states in my app.

Default, alt, alt2.

default is this years revenue

alt is last last years revenue

and alt is last years revenue

Capture.PNG

I need to combine all three rows to say the this years date so all rows with their revenue to one row for 21/12/2015.

Please can anyone help?

2 Replies
Anonymous
Not applicable
Author

Using Set Analysis you evaluate for each specific Alternate State, maybe something like this :

     sum( {$} Sales ) + sum( {alt} Sales ) + sum( {alt2} Sales )

Not applicable
Author

thanks for your response.

where would you put that? I want each state to have its own column but combine a row, so get rid of the zeros