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
MKPBI_2805
Frequent Visitor

Matrix - Display row data only on top level of hierarchy power bi

I have 3 tables like below

SALES
ORD_NBRACCOUNT_TYPE_AACCOUNT_TYPE_BREVENUE
O1A1 10
O2A1B111
O3 B212
O4A2B113
O5A2B3

14

 

 

ACCOUNT_A
ACCOUNT_IDACCOUNT_NAMETHRESHOLD_VALUE
A1APPLE100
A2HP90
A3DELL80
A4LENOVO70

 

ACCOUNT_B
ACCOUNT_IDACCOUNT_NAME
B1FACEBOOK
B2MICROSOFT
B3AMAZON

 

POWERBI MATRIX

ACCOUNT_TYPE_AACCOUNT_TYPE_BREVENUEACCOUNT_TYPE_A_THRESHOLD
APPLE 21100
 FACEBOOK11 
 MICROSOFT  
 AMAZON  
HP 1490
 FACEBOOK  
 MICROSOFT14 
 AMAZON  
DELL  80
 FACEBOOK  
 MICROSOFT  
 AMAZON  

 

I am using THRESHOLD MEASURES  as below

 

IF(ISINSCOPE('ACCOUNT_B'[ACCOUNT_ID]) ,BLANK(),SUM('ACCOUNT_A'[THRESHOLD_VALUE]))

 

I need to get rid of values in the Red color.

1 REPLY 1
dedelman_clng
Community Champion
Community Champion

Hi @MKPBI_2805 -

 

Your required output doesn't seem to match your data, but to get rid of rows that have BLANK for revenue, go the the Filters Pane and select where REVENUE is not blank.

 

2021-07-01 13_29_18-scratch4 - Power BI Desktop.png

Hope this helps

David

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

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.