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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
HxH
Advocate II
Advocate II

Showing value only at one level of hierarchy

Hi everyone,

I have created a matrix that shows in the rows the customer and related product purchased, and as values the number of products they have purchased So basically I have something like: 
CUSTOMERS       NUMOFPRODUCTS
Customer X                    3

         Product A              1

         Product B              1

         Product C              1  

 

In my data I have a column with text values that shows the current status of a product. I would like to add this text in the matrix, but only show it at the product level, and not at the customer and total level. I want something like:

 

CUSTOMERS       NUMOFPRODUCTS      STATUS 
Customer X                    3

         Product A              1                        Delivered

         Product B              1                        Not Delivered

         Product C              1                        Not Delivered

However, if I simply put the column in the values, also the Customer X and Total levels of the matrix are filled. How can I solve this? 

Thanks

1 ACCEPTED SOLUTION
HxH
Advocate II
Advocate II

I already solved it nevermind. It's a combination of isinscope and hasonevalue! It didn't come to my mind in the first place

Measure =
IF(
ISINSCOPE('Salesforce Data'[Product Name]) && HASONEVALUE('Salesforce Data'[Reason for Stopped]),
VALUES('Salesforce Data'[Reason for Stopped]),
BLANK()
)

I'll offer myself a coffee for the help 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

This is a clever solution. Just what I needed. Thanks!

HxH
Advocate II
Advocate II

I already solved it nevermind. It's a combination of isinscope and hasonevalue! It didn't come to my mind in the first place

Measure =
IF(
ISINSCOPE('Salesforce Data'[Product Name]) && HASONEVALUE('Salesforce Data'[Reason for Stopped]),
VALUES('Salesforce Data'[Reason for Stopped]),
BLANK()
)

I'll offer myself a coffee for the help 
Anonymous
Not applicable

Just had the same issue. It works perfectly - Thanks! 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors