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: 
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