Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear All,
Raw Data:
| Product | Sales |
| A | 100 |
| B | 200 |
| C | 300 |
| D | 50 |
| E | 100 |
| F | 150 |
| A | 100 |
In Chart Expression Dimension as product and Expression as Sum(Sales)
| Product | Sum(Sales) |
| A | 200 |
| B | 200 |
| C | 300 |
| D | 50 |
| E | 100 |
| F | 150 |
My Requirement top 3 products in chart using rank function in expression is there any possibilities???
My Output is
| Product | Sum(Sales) |
| A | 200 |
| B | 200 |
| C | 300 |
Try this expression
Sum({<Product = {"=Rank(Sum(Sales)) <= 3"}>}Sales)
Try this expression
Sum({<Product = {"=Rank(Sum(Sales)) <= 3"}>}Sales)
hi
you can do it with no need to another expression
you could go to the dimension and set it to display only 3 values
and it'll display to you the top 3
It's not working ....
Yeah i Know but for my customization i need in expression level
It is working for me
=If(Aggr(Rank(Sum(Sales)),product)<=3,Product)
it is ur dimension
measure :Sum(sales)
Yeah It's working...but inside rank function my current year expression is not working
FiscalYear = {$(=Max(FiscalYear))}
Now it's working thank you