Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to show the particular value in barchart

Hi,

I am using barchart and i need to show the particular product bar that have rank 1

i found the rank of product using

rank(sum(sales))

this expression show the rank of product,if rank of product is one it only to be displayed in the barchart with the sales,,

pls..help me out how to done it...

3 Replies
Not applicable
Author

Hi,

You can use calculated dimension for product likewise mentioned below:-

IF(AGGR(RANK(SUM(Sales)), Product)=1, Product)

Please let me know for any futher query in this regard.

Miguel_Angel_Baeyens

Hello,

You mean set your expression to ?

if(rank(sum(sales)) = 1, rank(sum(vales)))


Hope that helps

Not applicable
Author

Hi,

Go to Chart properties-Expression

Beside the Expression (Sum(Sales) in the Expression List, you will see + sign.

Click on it. You will get about 7 options in which Last option is "Show Value".

Click on it. On right hand side, Go to Definition and type expression

Rank(Sum(sales))=1.

Unclick Value on Data points if you have clicked it.

Use Bar chart.

You will get it.

Happy Thoughts