Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
sh_Himanshu
Regular Visitor

Help with DAX when Multiple measures are used in Matrix

Hello All,

This is very easy & silly DAX mistake I am doing, new to DAX so need your help to acheive the result.

 

Attaching my sample pbix file here PowerBi Sample . If you see there  I have a matrix visual where i have used multiple measures to calculate the count of cases on few conditions. 
Issue is when i click onany of the columns value belos printed table doesn't filter it properly. It is showing total row values. 

I want if i click on App team's implementation value, Table also show only those lines.

Please help me with this asap. Thanks in Advance

5 REPLIES 5
rohit1991
Super User
Super User

To fix the issue:

  1. Review Your Measures: Ensure they respect filter context. Avoid using ALL or REMOVEFILTERS unless needed.

    Example:Measure = CALCULATE( COUNT(Cases[CaseID]), FILTER(Cases, Cases[Team] = "App Team") ) 

  2. Check Visual Interactions: Ensure the Matrix and Table visuals are set to interact. Go to Format > Edit Interactions and verify the filter icon is active.

  3. Test Measures: Use simpler measures to check if filtering work:  Measure = COUNT(Cases[CaseID])
    If the issue persists, recheck the relationships in your data model to ensure proper filtering propagation.

pcoley
Resolver I
Resolver I

@sh_Himanshu 
I suggest you to check the TAM table: 

pcoley_0-1736617326870.png

The "Email" column which is used in the relationship has duplicated values, therefore it can not filter "AppTeam" alone, it will include also the Team_Name with "Other" -->which have the same email of AppTeam.
Once you have this resolved you should use the TAM[Team_Name] on the columns of a table to segment the values as you need, and the measure proposed here. 

pcoley_1-1736618188266.png

Team =
CALCULATE(
    COUNT( 'Cases'[Case_Number] ),
    'Cases'[Pending_Code]
        IN {
            "Pending Development",
            "Pending Research"
        }
)


I hope this helps, if so, please mark as solution. Kudos are welcome😁.

@pcoley  Thanks for answering. But this is the scenario here. One person assigned to multiple teams to handle different issues as well and most probably that's why I wanted to handle it through FILTER.
Another thing I think I can't use Team Name under column segment, because depending on Pending_Code we are dividing our data.
Example : Pending_Development , Pending Research & App Team = APP
Pending_Development , Pending Research & Non App Team = NON
Apart from the above combination other Count will be there in third column like "Pending" or belong to some other Teams.

Please help here to create or fulfill that behavior. Thanks


sh_Himanshu
Regular Visitor

@dax 

sh_Himanshu
Regular Visitor

sh_Himanshu_0-1736504852469.pngsh_Himanshu_1-1736504877120.pngsh_Himanshu_2-1736504898891.pngsh_Himanshu_3-1736504915338.png

 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.