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
venkatasuresh_g
6 years agoHelper IV
Hi ,
I am working on same issue , I ran in to the same problem as you . Can you please let us know how you were able to fix it. It will help people who come to this thread with same question
Thanks
Suresh
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_g6 years agoHelper IV
Anonymous
Thanks , that fixed the issue. I amnot sure how the sample working with out mentioning the field to group by.
Suresh Guddanti