Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Geostidet
Contributor II
Contributor II

Top 10 sales Product for each month for business line TSS Cumulative on a line chart

Hi all how can I get the 

Top 10 sales Product for each month for business line TSS Cumulative on a line chart.

I try this set Analyse.  with no success  

Sum({<IsPrioYear={1},Product ={"=Rank(Sum({<IsCurrYTD={1}[Business line]={'TSS'}>}Sales))<11"}>}Sales)

Labels (5)
2 Solutions

Accepted Solutions
MatheusC
Specialist
Specialist

@Geostidet 
Let me know if there are any more details, according to the information provided in the table, the expression I provided brings the top 10 values ​​correctly.

MatheusC_0-1706711595663.png

 

MatheusC_1-1706711608184.png


Regarts,
Matheus

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!

View solution in original post

MatheusC
Specialist
Specialist

Did you get the solution?

Close the topic with the solution met and leave a like if you found it useful.

Thank you!

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!

View solution in original post

5 Replies
MatheusC
Specialist
Specialist

Hi, @Geostidet 

Sum({<Product = {"=Rank(Sum({<IsCurrYTD={1},[Business line]={'TSS'}>}Sales),4)<=10"},IsPrioYear={1} > }Sales)



Regarts,
Matheus

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!
mato32188
Specialist
Specialist

Hi,

there is a small typo in set expression - comma is missing, but I am not sure, if this is the real issue.

For Line chart:

Dimension - reporting year

Measure - Sum({<IsPrioYear={1},Product ={"=Rank(Sum({<IsCurrYTD={1}, [Business line]={'TSS'}>}Sales))<11"}>}Sales)

Measure modifier - Accumulation

mato32188_0-1706684050528.png

It should work now.

BR

m

 

 

ECG line chart is the most important visualization in your life.
Geostidet
Contributor II
Contributor II
Author

Hi @MTHEUSC,

Thanks for the quick response. but I am still having the same issue with the formula you provided it doesn't   filter out the top 10 of    Business line TSS. I only have the Top 10 of TSS if I add a   Business line filter on the dashboard and select TSS.

MatheusC
Specialist
Specialist

@Geostidet 
Let me know if there are any more details, according to the information provided in the table, the expression I provided brings the top 10 values ​​correctly.

MatheusC_0-1706711595663.png

 

MatheusC_1-1706711608184.png


Regarts,
Matheus

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!
MatheusC
Specialist
Specialist

Did you get the solution?

Close the topic with the solution met and leave a like if you found it useful.

Thank you!

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!