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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
LP27
Creator II
Creator II

Display only positive values in Measure in pivot table Qlik Sense.

Hi Folks,

I have got below scenario where i need to display only positive values and values within 100% only.

Example:

This is my sample pivot table-

NameLocation RateValueLand RateValue_2
Limited$5009100%$655656%
Showroom$47829847%$45715%
Kite$57498%$235-2546%
shop$787-459%$56-45%

 

Now i need to display only the values which are positives and below 100% only.

I am sure , i need to write expression in Value(Measures), under show column if. But not sure how to write for the above scenario.

Note: The logic for Value = (1-(Sum({<[C-Desc]={"N/A","0001","N/A(BLANK)","()"}>} DValue)) / (Sum([Location Rate])))

Value2 = (1-(Sum({<[C-Desc]={"N/A","0001","N/A(BLANK)","()"}>} DValue)) / (Sum([Land Rate])))

*C-Desc and Dvalue are others fields.

 

Thanks in advance,

LP27

Labels (3)
12 Replies
jyothish8807
Master II
Master II

Hi ,

I believe, you are selecting % option from Number tab, which is converting the number to % in the chart, so try this:

 

if((1-(Sum({<[C-Desc]={"N/A","0001","N/A(BLANK)","()"}>} DValue)) / (Sum([Location Rate]))) >= 00

and

(1-(Sum({<[C-Desc]={"N/A","0001","N/A(BLANK)","()"}>} DValue)) / (Sum([Location Rate]))) <=01,

(1-(Sum({<[C-Desc]={"N/A","0001","N/A(BLANK)","()"}>} DValue)) / (Sum([Location Rate]))))

Best Regards,
KC
LP27
Creator II
Creator II
Author

Awesome! It worked.

Appreciate it! 

jyothish8807
Master II
Master II

You are welcome!

Br,

KC

Best Regards,
KC