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
manojsv16
Helper II
Helper II

Matrix - How to avoid Total and Subtotal aggregation for a field

Hello Team,

 

I am working on a report that has a requirement that i want to create a matrix with following information.

 

Rows

1. State

2. Region

3. City     

Values

1. Customers

2. Billed

3. % Billed 

 

% Billing is measure calcualted based on the formulat ( # Billed/ #customers ) in percentage. I would like to have the total and subtotals for Customers, Billed value field in matrix. But for % Billed, I don't want to see the total and subtotal aggregation based on Rows.

 

Please help me in how to avoid the total and subtotal only for % Billed measures. I know we can either have total and subtotal for all values or avoid for all values. but ,i dont know how to avoid for a value fields.

 

I would appreciate any suggestions on resolving this issue.

Capture.PNG

 

 

 

 

 

 

 

 

 

Thank you!!

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @manojsv16,

 

Please refer to below measure:

Bill% = IF(ISINSCOPE('Test Data'[City]),SUM('Test Data'[Bill])/SUM('Test Data'[Customer]))

1.PNG2.PNG

Best 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.

View solution in original post

1 REPLY 1
v-yulgu-msft
Employee
Employee

Hi @manojsv16,

 

Please refer to below measure:

Bill% = IF(ISINSCOPE('Test Data'[City]),SUM('Test Data'[Bill])/SUM('Test Data'[Customer]))

1.PNG2.PNG

Best 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
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.