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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
AmeenVanakar
Advocate II
Advocate II

Need help with a measure in power query - excel

Hi,

 

I need help with a formula to show total capacity per day by individual service from the table below.

Basically I need the results to show exact total capacity number as shown in the data table below. Please note that the the below table itself is the data source.

 

Service CategoryHours Per DayCapacityTotal Capacity Per Day
Service 11616256
Service 216348
Service 316116
Service 416232
Service 516116
Service 616348
Service 716348
Service 816232
Service 916348
Service 10168128
Service 1116232
Service 1216232

 

1 ACCEPTED SOLUTION
SundarRaj
Super User
Super User

Hi @AmeenVanakar ,
Try this. I have attached the file below. Thanks

Regards,

Sundar Rajagopalan

View solution in original post

4 REPLIES 4
AmeenVanakar
Advocate II
Advocate II

Thanks! This worked.

SundarRaj
Super User
Super User

Hi @AmeenVanakar ,
Try this. I have attached the file below. Thanks

Regards,

Sundar Rajagopalan
Nasif_Azam
Super User
Super User

Hey  @AmeenVanakar ,

You can calculate Total Capacity Per Day inside Power Query without using DAX. Since the total is simply the product of Hours Per Day and Capacity, follow these steps:

 

1. Load your data into Power Query.

2. Go to the Add Column tab and choose Custom Column.

3. In the formula field, type:

= [Hours Per Day] * [Capacity]

4. Give the column the name Total Capacity Per Day and confirm.

 

This will return the exact figures from your example for instance, if Hours Per Day = 16 and Capacity = 16, the total will be 256. If you prefer to do it directly in Excel after loading the data, you can add a column in the table and use:

=[@Hours Per Day] * [@Capacity]

Both methods will give the same outcome; using the Power Query approach ensures the calculation is part of your data transformation process.

 

If you found this solution helpful, please consider accepting it and giving it a kudos (Like) it’s greatly appreciated and helps others find the solution more easily.


Best Regards,
Nasif Azam



Did I answer your question?
If so, mark my post as a solution!
Also consider helping someone else in the forums!

Proud to be a Super User!


LinkedIn

Thanks for the help!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.