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
Anonymous
Not applicable

How to show a measure only in some rows

Hello... I need your help. I've tried to solve but I could not.

 

I need to show a measure (% Respect Revenue) in some rows into a Pivot table (Operating Expense and EBITDA)... until this part I could do it as I show you in the first image (Operating Profit (before D&A) showing a measure in blank).

 

 PTwithMeassure.png

 

When I open the content of Non-Personel show the items into it, and each one show the % Respect Revenue (Red rectangles). But We need in this point that only show blank and the % Respect Revenue appear only into the subtotal (Green rectangle) as I show you in the second image. Is this possible?.

 

 PTwithMeassureOpened.png

 

Finally, I've attached an image with the measure in order to give you a best idea of our data.

 

 MyMeasure.png

 

Thanks in advance.

 

Milton

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks @Abduvali for the idea however it doesn't work for our data.

 

However, after many intents, I resolved it. I've to use a new measure with the function HASONEVALUE as is showing in the next image, if someone is interest in this case.

 

Answer.png

 

Kind regards.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thanks @Abduvali for the idea however it doesn't work for our data.

 

However, after many intents, I resolved it. I've to use a new measure with the function HASONEVALUE as is showing in the next image, if someone is interest in this case.

 

Answer.png

 

Kind regards.

Abduvali
Skilled Sharer
Skilled Sharer

Hi @Anonymous,

 

I think the problem you have is derived from the way you calculated [All Revenue] measure I believe it's a sum of all revenues (non-personnel + personnel...etc) so if you calculate your Non-Personnel in separate measure then it will be blank, try something like this maybe it will work for you:

  • Non-Personnel = calculate(sum(YourTableName[Sales]),YourTableName[Department] = "Non-Personnel"))

Regards

Abduvali

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.