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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors