Forum Discussion
Anonymous
8 years agoNot applicable
Filter Top N customers using slicer
Hi everyone, I have a table containes customerID and sales amount. I want use the sales amount and growth rate to create a scatter chart. I hope that the users can select top 10, 20, 50 customer...
- 8 years ago
Anonymous
6 years agoNot applicable
Is Top X selected? =
IF (
RANKX (
ALL ( 'DataTable'[Customer ID] ),
CALCULATE ( SUM ( 'DataTable'[Sales Amount] ) ),
,
DESC,
DENSE
)
<= SELECTEDVALUE ( ParameterTable[Value] ),
"Yes"
)
You must specify what to group them by, in this case you are ranking them by Customer.
venkatasuresh_g
Helper IV
6 years agoAnonymous
Thanks , that fixed the issue. I amnot sure how the sample working with out mentioning the field to group by.
Suresh Guddanti