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
Raul
Post Patron
Post Patron

Value only in subtotal row

Hello everyone!

 

I have this table in a pbix file:

 

COMPANYITEMHOURSINVOICEDDESCRIPTIONAREADEPARTAMENT
B25A     0,00    3453,00FCAArea1Dep1
B25A     0,00      192,80FCG1Area1Dep1
B25A     0,00      125,00FCG2Area1Dep1
B25A     0,00        11,40FCG4Area1Dep1
B25A     0,00      184,79FFArea1Dep1
B25C     2,25  Area1Dep1
B25D     0,25  Area1Dep1
B25E   80,07  Area1Dep1
B25I     0,83  Area1Dep1
B25K     0,25  Area1Dep1
B25M     0,53  Area1Dep1
B25P     4,16  Area1Dep1
B25S     1,25  Area1Dep1

 

And I show it in this matrix visualization:

 

Department.JPG

But I want to show in this way:

 

COMPANYHOURSINVOICEDDEP
B25          89,59    3.966,99 
   Area1          89,59    3.966,99Dep1
      C             2,25            0,00 
      D             0,25            0,00 
      E           80,07            0,00 
      I             0,83            0,00 
      K             0,25            0,00 
      M             0,53            0,00 
      P             4,16            0,00 
      S             1,25            0,00 
   FCA            0,00    3.453,00 
   FCG1            0,00        92,80 
   FCG2            0,00       125,00 
   FCG4             0,00         11,40 
   FF            0,00       184,79 
Total          89,59    3.966,99 

 

That is:

  1. I only want the DEP column value in the Area row
  2. I only want the subtotal of Description row when the hour is 0 for Item value
  3. I don't want to show the Description when its value is blank but I want its total in the Hour column.

How can I do it?

Thank you very much for your help.

 

3 REPLIES 3
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Raul,

 

I'm afraid that above requirements is not able to achieve. The matrix view you have got is a default format, currently, there is no option to dynamically show/hide subtotal or column values for specific row group.

 

Regards,

Yuliana Gu 

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Ok @v-yulgu-msft, thanks for your comment.

 

But, the other question about how show only in the Area row the Dep1 value for the DEP column is not possible with a DAX formula?

Hi @Raul,

 

In my test, I didn't find a solution to show DEP only in the Area row via DAX. I'm afraid this is not possible.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.