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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
Employee
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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.