Forum Discussion
Rfranca
Resolver IV
8 years agoRanking TOP N sales without zeros
I'm doing the sales rank, but when I set up the table for presentation the products that had sales with zero appear in the rank table, how do I mount the rank without the products with sales with ...
- 8 years ago
Hi Rfranca,
Try this measure in the Mx_sales table
=RANKX(FILTER(All('PRODUCT'[ProductName]),[Ttotal_Sales]>0),[Ttotal_Sales],,ASC,Skip)
In the Visual level filters, apply a criteria on the Ttoal_Sales of >0
Hope this helps.
Rfranca
Resolver IV
8 years agoAshish_Mathur
Super User
8 years agoYou are welcome.
- siroopm20204 years ago
Helper I
how to avoid zero values while ranking?
- Ashish_Mathur4 years ago
Super User
Hi,
That is what my formula suggested on Jan 18, 2018 should do. If it is not working as expected, then share some data, describe the question and show the expected result.