Forum Discussion

mostho's avatar
mostho
Icon for Helper II rankHelper II
2 years ago
Solved

Right measure for a matrix visual

I have a table FT with 3 columns: - DateA - DateB - Val I have a matrix visual with DateB as Column, DateA as Row and sum of Val as values. works so far. Now i wanna add a date slicer (with so...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi mostho 

     

    First of all, I need to confirm your requirements with you. According to the condition that DateA > DateC and DateB < DateC, the output image should not be 07-01-2024.

     

    The following testing is for your reference.

     

    Create a measure as follows

    Measure = IF(SELECTEDVALUE('Table'[DateA]) > SELECTEDVALUE('DateC'[Date]) && SELECTEDVALUE('Table'[DateB]) < SELECTEDVALUE('DateC'[Date]), 1, 0)

     

    Put the measure into the visual-level filters, set up show items when the value is 1.

     

    Output:

     

    Best Regards,
    Yulia Xu

     

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