Forum Discussion
Populate table and graph depending custom filters
Hello, I am facing an issue here.
ARR = SUM(CONTRACT_ALLMRR[total_mrr_EUR])*12.
Slicer Selection =
VAR Selection =
SELECTEDVALUE ( 'Table'[Measure] )
RETURN
SWITCH (
TRUE (),
Selection = "<50K",CONTRACT_ALLMRR[ARR] < 50000,
Selection = ">50K & <100K", CONTRACT_ALLMRR[ARR] > 50000 && CONTRACT_ALLMRR[ARR] < 100000,
Selection = ">100K & <200K", CONTRACT_ALLMRR[ARR] > 100000 && CONTRACT_ALLMRR[ARR] < 200000,
Selection = ">200K", CONTRACT_ALLMRR[ARR] > 200000
)
Here is the result in my table :
How can I get only the clients depending of my slicer choice?
3 Replies
- PickleBearNew Member
Have you tried creating an extra column in your Customer table to Categorise each customer into one of these groups? e.g. '<50k'.
Then you can just join your Slicer table to your Customer table using the matching field.
- AntoineOAFrequent Visitor
My problem here is that my ARR is calculated on the whole column and when I use it I add a filter on the dashboard to get the last calendar month. So based on your solution, I should create a columns and calculate my ARR for each month value I have for each client?
- PickleBearNew Member
If it's only the last month you need for this data then you could create a summarised table by Customer, Last Month ARR, and Category