Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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