Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Measure to Ignore Slicer Selection

Hi,

 

See below image: The table is showing correct "DT National"

 

However, if I select a zone, for example Adelaide, the "DT National" is now filtered to Adelaide too.

 

This is the current formula of "DT National"

DT National = CALCULATE([DT],ALL('Delivery Jobs Table'[Zone Name]))
 
Is there a way to make the measure to ignore the slicer selection?
 
Many thanks in advance for the help.
 
Regards,
Ary

 

 

 

  • Hi Anonymous 

    This has nothing to do with measure, even if you don't put any value the visual will be filtered (see below). 

    So in this scenario, you can change the interaction control, link: Change how visuals interact in a report - Power BI | Microsoft Docs

    result

    Or you can create a table below and use it in slicer, but it needs you to change your measures accordingly. 

     

    Best Regards,

    Community Support Team _Tang

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

7 Replies

  • v-xiaotang's avatar
    v-xiaotang
    Icon for Community Support rankCommunity Support

    Hi Anonymous 

    This has nothing to do with measure, even if you don't put any value the visual will be filtered (see below). 

    So in this scenario, you can change the interaction control, link: Change how visuals interact in a report - Power BI | Microsoft Docs

    result

    Or you can create a table below and use it in slicer, but it needs you to change your measures accordingly. 

     

    Best Regards,

    Community Support Team _Tang

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

    • Anonymous's avatar
      Anonymous
      Not applicable

      v-xiaotang Thank you.

      Creating a separate table for the Zone works.

  • Anonymous , Try like

    DT National = CALCULATE([DT],ALL('Delivery Jobs Table'))

     

    DT National = CALCULATE([DT],removefilters('Delivery Jobs Table'[Zone Name]))

    • Anonymous's avatar
      Anonymous
      Not applicable

      amitchandak 

       

      The first suggestion seems to break the date in the table:

       

       

      The second suggesion is having the same issue as before:

       

       

      • amitchandak's avatar
        amitchandak
        Icon for Super User rankSuper User

        Anonymous ,
        Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

  • Anonymous's avatar
    Anonymous
    Not applicable

    VahidDM You helped me a lot in the past.
    Just wondering if you have any insights on this?