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

Percentage Help

Hi Experts,

Can any one please help me on below issue. I have 5% in Measure 1 for the month of Jul-2018.

But when I filter Month=Jul-2018 then this 5% turns to 100%.

I have used the below expression. Please help me on this.

Sum(if([ Not Null <3days]='True' or [Null <3days]='True',[Count]))
/
Sum(Total if([ Not Null <3days]='True' or [ Null <3days]='True',[Count]))

 

Per 1.png

per 2.png

Thanks in advance

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Override the Month selection in the divisor:

Sum(if([ Not Null <3days]='True' or [Null <3days]='True',[Count]))
/
Sum({<Month>} Total if([ Not Null <3days]='True' or [ Null <3days]='True',[Count]))
Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

2 Replies
PrashantSangle

because when you select Jul-2018 then you denominator change
In denominator used set analysis

Sum({1<[ Not Null <3days]={'True'}>+1<[ Null <3days]={'True'}>}Count)
Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
jonathandienst
Partner - Champion III
Partner - Champion III

Override the Month selection in the divisor:

Sum(if([ Not Null <3days]='True' or [Null <3days]='True',[Count]))
/
Sum({<Month>} Total if([ Not Null <3days]='True' or [ Null <3days]='True',[Count]))
Logic will get you from a to b. Imagination will take you everywhere. - A Einstein