• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Measure to calculate quantity from budget (multiple periods) and rates (single period)|Power Pivot|Excel Forum|My Online Training Hub

You are here: Home / Measure to calculate quantity from budget (multiple periods) and rates (single period)|Power Pivot|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumPower PivotMeasure to calculate quantity from …
sp_PrintTopic sp_TopicIcon
Measure to calculate quantity from budget (multiple periods) and rates (single period)
Avatar
Ralph Eisert

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
March 9, 2021
sp_UserOfflineSmall Offline
1
March 9, 2021 - 10:55 pm
sp_Permalink sp_Print

Hello there,

I am hoping that I will get some ideas how to resolve the following issues. I have been racking my brains but I am still struggling.

I am looking for the measure to get to the number of hours calculated from the total budget (by period and wbs) and the applicable hourly rate (by period).

In order to better bring across what my issue is, I attached a spreadsheet with the two tables and what exactly they look like.

I have made attempts with DIVIDE, but I always ended up with the error that the hourly rate lack a sum or count or ...

Thank you for any support,

Ralph

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4438
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
March 10, 2021 - 10:10 am
sp_Permalink sp_Print

Hi Ralph,

In your example file you want Qty. Hours, but I don't see any column labelled 'Hours'. You have Budget and Hourly Rate. I don't know what the Budget column contains. Are these costs, hours, something else?

In the attached file I have added dimension tables for WBS and Date, which are required for the PivotTable you want to build. Maybe that's enough for you to take it from there. If not, please come back with clarification as to how you want to calculate the hourly rate by period (i.e. what fields would I use).

Mynda

Avatar
Ralph Eisert

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
March 9, 2021
sp_UserOfflineSmall Offline
3
March 10, 2021 - 10:30 pm
sp_Permalink sp_Print

Hi Mynda,

Thanks for your reply. Your pivot table has brought me a bit closer to what I want to achieve.

I did not add a separate column for the quantity of hours because I think (I may be wrong) it can be resolved with a measure (Bugdet divided by Hourly Rate).

I have restructured your pivot table a bit and added (in yellow) what I am looking for. I may be wrong in terms of solving this with a measure.

Best,

Ralph

Avatar
Ralph Eisert

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
March 9, 2021
sp_UserOfflineSmall Offline
4
March 11, 2021 - 5:09 am
sp_Permalink sp_Print

I have been experimenting a little bit and I have come to believe that in a non-pivot environment I would most likely resolve this issue with SUMPRODUCT

Something like =SUMPRODUCT(C5:C12/H5:H12)

C5:C12 = Array 1 in the table Budget

H5: H12 = Array2 in the table Hourly Rate

But I have learned that SUMPRODUCT is not available in PP.

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4438
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
5
March 11, 2021 - 9:12 am
sp_Permalink sp_Print

Hi Ralph,

In Power Pivot you can write measures. Please see the attached file to see if that's what you want.

Note: I'm a bit confused because your SUMPRODUCT example above is for all months, but in the file you have it broken down by month.

Mynda

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Velouria, Ben Hughes, Dario Serrati, Christopher Anderson, Natasha Smith, dectator mang, Oluwadamilola Ogun, yashal minahil
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
yashal minahil
Oluwadamilola Ogun
Yannik H
dectator mang
Francis Drouillard
Orlando Inocente
Jovitha Clemence
Maloxat Axmatovna
Ricardo Freitas
Marko Meglic
Forum Stats:
Groups: 3
Forums: 24
Topics: 6200
Posts: 27181

 

Member Stats:
Guest Posters: 49
Members: 31858
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.