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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Henrik_99
Resolver I
Resolver I

Exclude rows in Matrix

hi

 

I have the following scenario:

 

Matrix is not calculating the total, I'm able to create measures to count total that gives the total by Year week with SUMX;

 

= sumx(values(table1[discipline]),  [measure switch]

 

However, how can I exclude a particular row "Open comments" in total. 

 

"Open comments with numbers" shall remain in Matrix.

 

Capture.PNG

Thanks

 

Henrik

 

1 ACCEPTED SOLUTION

@Henrik_99 

Please try the following formula. If you want to see only the Row for Open Comments with no data, right-click on the field and choose "Show item with no data"

Fowmy_0-1622543343778.png

 

  

New Measurre = 
sumx(
    Filter(
           values(table1[discipline]),
           table1[discipline]<> "Open comments"
    ),
    [measure switch]
)

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

3 REPLIES 3
Fowmy
Super User
Super User

@Henrik_99 

You can try this modified measure:

New Measurre = 
IF( 
    SELECTEDVALUE(table1[discipline]) <> "Open comments",
    sumx(values(table1[discipline]),  [measure switch])
)
Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Hi

 

See figure below, it doesnt  sum correctly and Open comments value disappear.

 

Capture.PNG

Rgds Henrik

@Henrik_99 

Please try the following formula. If you want to see only the Row for Open Comments with no data, right-click on the field and choose "Show item with no data"

Fowmy_0-1622543343778.png

 

  

New Measurre = 
sumx(
    Filter(
           values(table1[discipline]),
           table1[discipline]<> "Open comments"
    ),
    [measure switch]
)

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.