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: 
HKN1
Contributor III
Contributor III

single table and two column

Hello,

I have a single table (data source). I want to list the statuses that are False in a separate column. However, I also want to include the non-matching ones. I need the output exactly as shown in the final table.

How can I achieve this?

Thank you.

 

HKN1_0-1740410967561.png

 

Labels (1)
1 Reply
JandreKillianRIC
Partner Ambassador
Partner Ambassador

Hi @HKN1 

Just add 3 columns, 1 is a Dimension, 2 and 3 are measures

1. Return Product: IF(Status = 'FALSE', Product) 

2. Return Product Quantity: Sum({<Status = {'FALSE'}>} Quantity) 

3. Total: Sum(Quantity) - Sum({<Status = {'FALSE'}>} Quantity)

Regards Jandre

Mark the solution as accepted that solved your problem and if you found it useful, press the like button! Check out my YouTube Channel | Follow me on LinkedIn