Forum Discussion

Nyx's avatar
Nyx
Frequent Visitor
3 years ago
Solved

Highest value from multiple calculations changing when added to visual

Hi,   This is a broad question as my current dataset is very messy.   In a measure I sum several columns with 'IF' and use the column that produces the highest value. I plot this measure on a gr...
  • v-yueyunzh-msft's avatar
    3 years ago

    Hi, Nyx 

    According to your description, you want to make your measure without enforcing it's own "per month" filtering?

    The first thing to be clear is that measures are calculated by default based on the current filter context, which is directly related to the fields placed on top of your visuals and the slicer.

    If you want to ignore the month filter, you can use the ALL() function to clear the filter. If you want to keep the slicer filtered, you can use the ALLSELETED() function.

     

    For more infoemation, you can refer to :
    ALLEXCEPT function (DAX) - DAX | Microsoft Learn

    ALL function (DAX) - DAX | Microsoft Learn

     

    Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

     

    Best Regards,

    Aniya Zhang

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