+ Reply to Thread
Results 1 to 2 of 2

PowerPivot DAX - Wrong SubTotals

Hybrid View

  1. #1
    Registered User
    Join Date
    12-28-2016
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    7

    PowerPivot DAX - Wrong SubTotals

    Hi all,

    I'm trying to create a summary of expected hours based on each employee's weekly contract hours and project this only for working days during each month,week,day.

    My DAX is like :SUM_WDPerWeek:=IF(MAX('Calendar'[NetWorkingDays])=0,0,CALCULATE(
    SUM([NetWorkingDays]),
    FILTER(
    ALLSELECTED('Calendar'),[Date]),'Calendar'[NetWorkingDays]=1))

    My problem here is that :
    1. The subtotals (for working days and working hours) are showing the grant total instead of the correct split.
    2.How can i calculate the daily workload of each employee(based on their weekly load) and then then multiply it per working day, in order to get the daily sum?

    Thanks in advance for any suggestions!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,893

    Re: PowerPivot DAX - Wrong SubTotals

    Assuming that the issue is with columns N:O, I am not sure what your expected results should look like.
    Perhaps if you could display manually calculated results for a couple of weeks it would give someone a better idea of how to help.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 6
    Last Post: 04-04-2019, 12:33 PM
  2. PowerPivot import - data in wrong order
    By JujuDS in forum Excel General
    Replies: 2
    Last Post: 10-25-2018, 02:54 AM
  3. Replies: 4
    Last Post: 07-23-2015, 03:35 PM
  4. Replies: 2
    Last Post: 06-02-2014, 09:34 AM
  5. Page Break by using Subtotals is wrong
    By johncassell in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-10-2006, 10:32 AM
  6. Excel 2003 multilevel subtotals in wrong positions
    By JMA7450 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-05-2006, 05:20 PM
  7. Subtotals in wrong positions excel 2003
    By Charles in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-28-2006, 08:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1