Forum Discussion

mwadhwani's avatar
mwadhwani
Icon for Kudo Kingpin rankKudo Kingpin
8 years ago
Solved

Capture Date Range (Slicer: Relative) 1st and last date using DAX

  Hi Experts, My report has following visual (Slicer : Relative). If I select last 2 months it shows the range at bottom of visul. I want to place this selected range from visual parallel to it. I ...
  • Anonymous's avatar
    Anonymous
    8 years ago

    mwadhwani,

    You can directly create the following two measures.

    minselecteddate = MIN(d_Date[Data View Range])
    maxselecteddate = MAX(d_Date[Data View Range])

    Here is an example for your reference.



    Regards,
    Lydia