Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Restrictions syntax on dimension pivot table

hi i am trying to restrict some values in my pivot table.

however i seem to recieve null values in my result;

i have attached the application to show the behaviour.

is it possible to use if statements on Dimensions to restrict data?

Best,

Bradley

2 Replies
calvindk
Creator III
Creator III

Yes, you can add calculated dimensions based on if, such as IF(FieldName = 'XX', FieldName, NULL()) and then suppress nulls on that dimension.

However if it is a simple if expression like that, you would be better off adding a flag in your dataset and using that in your expressions as set analysis

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

Check the Suppress When value is Null.

untitled.PNG

Regards,

Celambarasan