Forum Discussion
amilkarigi
8 years agoHelper I
RANKX Measure issue
The problem is that I have a top 10 measure with rankx: Top Clientes =
VAR
Prod = [Mas Vendido]
VAR
Cliente = VALUES(Clientes[CompanyName])
RETURN
CALCULATE([Ventas Total];...
- 8 years ago
HI, I try to simplify this:
Top Clientesrl = VAR Prod = [Mas Vendido] RETURN CALCULATE ( [Ventas Total]; Ordenes[ProductName] = Prod )in the visual level filter
regards
Victor
Ashish_Mathur
8 years agoSuper User
Hi,
My suggestion is to create a seperate RANK measure
=RANKX(ALL(Clientes[CompanyName]); [Ventas Total];;DESC)
Now in the first visual, drag this measure to the Visual Level filters and apply a criteria there of <=10.