+ Reply to Thread
Results 1 to 1 of 1

Replace Sumifs Function with Pivot Table in Power Pivot

  1. #1
    Registered User
    Join Date
    03-15-2017
    Location
    Long Beach, CA
    MS-Off Ver
    365 Pro Plus
    Posts
    14

    Replace Sumifs Function with Pivot Table in Power Pivot

    Hello,

    I am working with a large data set that I have housed in the excel data model via a power query and am using power pivot to bring data into my workbook. The data has three columns of interest for me: service date, collection date, and payment. Formerly, when the data was housed in a standard table, I would just run a sumifs function on a monthly date column in order to retrieve all payments that were collected after month end for service dates prior to that month. The prior formula looked like this...

    1 Month End Formula
    2 12/31/17 =sumifs(Table1[payment],Table1[collection date],">"&A2,Table1[service date],"<="&A2)
    3 01/31/18 =sumifs(Table1[payment],Table1[collection date],">"&A3,Table1[service date],"<="&A3)
    4 02/29/18 =sumifs(Table1[payment],Table1[collection date],">"&A4,Table1[service date],"<="&A4)
    ...

    Since I am now housing the data in the power pivot/data model, I can't just run a formula on the data set. I can only query the data set using a pivot table. I have considered creating a pivot table for the entire data set and running the above formula, but that would defeat the purpose of housing the data in the data model via power query. I'd much rather run a pivot table that functions just as the above calculation does. I think that the answer lies somewhere with DAX measures, but I can't quite figure it out.

    Thanks for your help!
    Last edited by cbrown6305; 11-12-2018 at 07:28 PM.

+ 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. POWER Query and Power Pivot Table !!
    By haitham.shop in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-06-2018, 04:09 PM
  2. Power Query and Power Pivot Table !!
    By haitham.shop in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-06-2018, 06:15 AM
  3. Creating a Pivot Table from Power Pivot Data Model?
    By nobodyukno in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-17-2017, 12:02 PM
  4. Trying to use a sumifs function on a pivot table- Thank you for your help
    By JCarollo765 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-15-2016, 12:38 AM
  5. Replies: 4
    Last Post: 06-19-2014, 12:59 PM
  6. Pivot Table FRom Power Pivot Returns Sum Of Entire Field
    By goss in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-26-2013, 07:34 PM
  7. pivot table from Power Pivot not displaying thousand separator/comma
    By Paul-NYS in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-04-2013, 01:05 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