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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Deepali_Prabhu
Contributor
Contributor

To display one column in Pivot table with 2 entries

In a pivot table, the column added before the values(Sale) has two entries : 'Yes' and ' No' as below:

But I need to display just the Yeses. Any suggestions are welcome.

2021 2022 2023
Sale Sale % Sale Sale % Sale Sale %
Yes No Yes No Yes No Yes No Yes No Yes No
Labels (2)
2 Replies
vinieme12
Champion III
Champion III

use a Calculated Dimension

 

aggr(  only ({<Field = {'Yes'}>} Field ) , Field )

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Deepali_Prabhu
Contributor
Contributor
Author

Should this formula be put into "Show column if" segment of the field ?