Measure monthly average fuel consumption in Pivot Data Model

primasatria

New Member
Joined
Dec 3, 2023
Messages
9
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Hi all,

I never use Power Pivot, Power Query and DAX since I've been using Excel more than 5 years.
I am using Office 365.

I am creating a Data Model pivot table to know:
- fuel monthly consumption (no problem with this)
- number of vehicle for each month (no problem with this), using distinct count

I need your help, how to measure:
- average monthly consumption (fuel consumption divide by number of vehicle (distinct count))
- monthly ratio of each vehicle ID, based on fuel consumption and driven mileage.

Thanks in advance for your kind attention and assistance.
Best regards,
prima
 

Attachments

  • fuel consumption.jpg
    fuel consumption.jpg
    49.6 KB · Views: 6

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
You can use the divide function and use the measures you already made.
Divide(fuel consumption, number of vehicles)
 
Upvote 1
Solution
You can use the divide function and use the measures you already made.
Divide(fuel consumption, number of vehicles)
Dear GraH,

Thank you for your kind assistance. I believe this one to find the average of monthly consumption.
But what about the second question, "to find monthly ratio for each vehicle?"

Again, thank you very much.
prima
 
Upvote 0
Hello @primasatria ,
Glad I could help.
I guess it is the same kind of solution where you can use divide(total fuel consumption, total mileage driven). Both are again other measures you need to create. The total consumption you already have.
 
Upvote 0
Hello @primasatria ,
Glad I could help.
I guess it is the same kind of solution where you can use divide(total fuel consumption, total mileage driven). Both are again other measures you need to create. The total consumption you already have.
Dear GraH,

Thank you very much.

Best regards,
prima
 
Upvote 0

Forum statistics

Threads
1,215,076
Messages
6,122,988
Members
449,093
Latest member
Mr Hughes

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top