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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
MSuser5
Helper III
Helper III

Sub unit Total

Hi All,

 

I have data sub unit and each month and i'm created category within/ Beyond SLA level now i want to calculate Total of sub unit level

 

kindly hlep me on this.

 

Sub_UnitCountValueSub_unit Total
Export10Beyond SLA261
Export251Within SLA261
Import97Beyond SLA488
Import391Within SLA488
Process74Beyond SLA311
Process237Within SLA311
Live68Beyond SLA497
Live429Within SLA497
Create669Beyond SLA1912
Create1243Within SLA1912
Locked28Beyond SLA465
Locked437Within SLA465
Release182Beyond SLA456
Release274Within SLA456
Total4390 4390

 

i want to create like last column sub unit total.

 

Thanks,

MS

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hello @MSuser5 ,

 

Try using following DAX:

ALLSELECTED_measure = CALCULATE([Count]),ALLSELECTED([Sub_Unit])
 
Thanks
If this helps, mark this as a solution!!

View solution in original post

Dhairya
Solution Supplier
Solution Supplier

Heu @MSuser5 

Input:

Dhairya_1-1689666699393.png


Please create the following measure

 

Sub_unit Total = CALCULATE(SUM(TableA[Count]), ALLEXCEPT(TableA,TableA[Sub_Unit]))

And Plot the table and you will get the expected output:

Dhairya_0-1689666667955.png

 

If this helps you then please mark my solution as accepted so that others can find it quickly when they face the similar issue. Thank you!

View solution in original post

6 REPLIES 6
Dhairya
Solution Supplier
Solution Supplier

Heu @MSuser5 

Input:

Dhairya_1-1689666699393.png


Please create the following measure

 

Sub_unit Total = CALCULATE(SUM(TableA[Count]), ALLEXCEPT(TableA,TableA[Sub_Unit]))

And Plot the table and you will get the expected output:

Dhairya_0-1689666667955.png

 

If this helps you then please mark my solution as accepted so that others can find it quickly when they face the similar issue. Thank you!

Thanks its working as expected

Anonymous
Not applicable

Hello @MSuser5 ,

 

Try using following DAX:

ALLSELECTED_measure = CALCULATE([Count]),ALLSELECTED([Sub_Unit])
 
Thanks
If this helps, mark this as a solution!!
rubayatyasmin
Community Champion
Community Champion

Hi, @MSuser5 

 

From the picture, I get that you have three columns right? and last column has text and number mixed and you want to sum the numbers. 

 

here is the suggestation. 

1. go to power query.

2. split the last column

 

 

here is the documentation for you. https://learn.microsoft.com/en-us/power-query/split-columns-delimiter 

after split, you will have 2 columns. rename with your own choise. 

 

sum it up or visualize it in a table. 

 

rubayatyasmin_0-1689517080227.png


Did I answer your question? Mark my post as a solution!super-user-logo

Proud to be a Super User!


Hi @rubayatyasmin ,

 

Sub_unit Total -  i need to create in measure

so, you can not split the column? it is your requirement? 

 


Did I answer your question? Mark my post as a solution!super-user-logo

Proud to be a Super User!


Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.