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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Zeny
Contributor
Contributor

Invalid dimension error - slider

 

Hello Everyone,

 

I am using the following expression on one of my dimension in table, and it is throwing an invalid dimension error:

if (sum(Percent) >= vMinPercentage and sum(Percent) <= vMaxPercentage, sum(Percent), null())

 

I think aggr function should be used, but i don't know how. 😞

 

Please correct me

 

Thanks in advance for your help

2 Replies
joaopaulo_delco
Partner - Creator III
Partner - Creator III

Hi @Zeny 

Try this

if (sum(Percent) >= $(vMinPercentage) and sum(Percent) <= $(vMaxPercentage), sum(Percent), null())

Help users find answers! Don't forget to mark a solution that worked for you!
Zeny
Contributor
Contributor
Author

Hi @joaopaulo_delco

 

Thanks your reply, unfortunately it still throwing the same error