Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
I have created a Pivot table in Qlik where a column contains values of 0 and 1, which I have counted into two separate columns. However, I would like to display '0' as 'No' and '1' as 'Yes'. Is there a way to convert numeric values into text within the Pivot table? Many thanks.
You could use a calculated dimension with: pick(MyField + 1, 'No', 'Yes') respectively moving this logic into the data-model and/or creating a dual(), like: dual(pick(MyField + 1, 'No', 'Yes'), MyField) as MyField
Hi @karandeep Instead of replace or convert your field, you should create a new field, using @marcus_sommer or @Kelliesy suggerences
You could use a calculated dimension with: pick(MyField + 1, 'No', 'Yes') respectively moving this logic into the data-model and/or creating a dual(), like: dual(pick(MyField + 1, 'No', 'Yes'), MyField) as MyField
Can you use this in the field logic? if(yourcolumname = 0, 'N', 'Y') ?
Hi @karandeep Instead of replace or convert your field, you should create a new field, using @marcus_sommer or @Kelliesy suggerences