Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
sjar1290
Contributor II
Contributor II

calculated measure instead of calculated dimension

Hi All,

I am using a calculated dimension if(Field=column1 and Field<>column2, user ID, null()) , and I want to exclude the null values

if I use the same expression as measure its giving me all null values

by using the calculated dimension the APP becomes very slow and talking so much of time to load the data

is there any way that we can replace the above expression with some other expression and exclude the null values and load the data fast.

any help would be much appreciated.

Thank you!

Labels (3)
2 Replies
Mark_Little
Luminary
Luminary

HI @sjar1290 

What is the actual Expression you are using? If statements are slower than set analysis. 

When I have faced these issue in the past I look to move the heavy lift to the script. It might be adding a flag or a new dimension you can use in your set expression.

vinieme12
Champion III
Champion III

just create this field in your load script!

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