Forum Discussion

xti224's avatar
xti224
Regular Visitor
4 years ago
Solved

sort custom column

  • v-angzheng-msft's avatar
    4 years ago

    Hi, xti224 

    Try to create a measure like this:

    isShow = 
    var _selectedDate=SELECTEDVALUE(Date1[Date])
    var _45=IF(SELECTEDVALUE(Table1[Date])<=_selectedDate&&SELECTEDVALUE(Table1[Date])>=_selectedDate-45,1,0)
    return _45

    And filter items with the measure equal to 1 in the filter pane

    Result:

    Please refer to the attachment below for details.

    Hope this helps.

     

     

    Best Regards,
    Community Support Team _ Zeon Zheng


    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.