Forum Discussion

bilalkhokar73's avatar
bilalkhokar73
Icon for Helper IV rankHelper IV
4 years ago
Solved

Slicer month distribution

I want to create a Slicer which will show me 
1 month
2 month
6 month
9 month
1 year
1.5 year

I want to see slicer then my sales will come, I have calendar table

  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi bilalkhokar73 ,

     

    You could create a table like below.

    Use [range] as slicer and use [month] as the filter condition in the formula.

    For example, calculate the max value in selected range.

    max_value_in_latest_range = calculate(max([value]),filter(allselected(table),edate([date],selectedvalue(slicer[month]))>=today()))

     

    Best Regards,

    Jay

2 Replies