+ Reply to Thread
Results 1 to 6 of 6

PoverPivot Date

  1. #1
    Registered User
    Join Date
    05-20-2016
    Location
    United States
    MS-Off Ver
    Microsoft Office 2013
    Posts
    23

    PoverPivot Date

    I am having an issue with how to get excel's powerpivot to calculate the most recent date with UPDATING and historical data.I have created a powerpivot to show suppliers audit class scores but when those suppliers are audited multiple times over the years the score changes and I need the powerpivot to display on the most recent date and score. For example, right now I have the count of # of suppliers with risk score 1,2,3,etc. But say supplier ABC is audited in 2011 with a 1 and 2012 with a 2. I need the pivot to count only the most recent score (the 2) so that the count of number of suppliers isn't counting the same supplier twice. This sounds super confusing but I tired uploading a fake example (however powerpivot wasnt working so i used regular pivottable in example but the problem is still the same).
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: PoverPivot Date

    I believe you want to use the CALCULATE & MAX formulas in powerpivot.

    MinTSeq:
    Please Login or Register  to view this content.
    Google "powerpivot max if"
    http://www.mrexcel.com/forum/power-b...pivot-dax.html
    Last edited by mikeTRON; 05-20-2016 at 05:22 PM.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: PoverPivot Date

    I haven't touched powerpivot in a while so I went ahead and gave it a whirl. I pushed your tiny dataset to the datamodel and labeled the table DATA.
    Then I used a new calculated column with the following formula.
    Please Login or Register  to view this content.
    Attached is the workbook I was playing with, and WOW I POWERPIVOT is powerful.
    Attached Files Attached Files
    Last edited by mikeTRON; 05-20-2016 at 05:40 PM.

  4. #4
    Registered User
    Join Date
    05-20-2016
    Location
    United States
    MS-Off Ver
    Microsoft Office 2013
    Posts
    23

    Re: PoverPivot Date

    Thank you so much for your answer! Unfortunately that has not solved the problem. I need it to count the max date per each specific supplier name and it is still counting the most recent score of all the suppliers not the most recent of each individual supplier. For example,without your test data we have an audit score of 2 and 3 for supplier ABC but the most recent score is a 3 so in the pivottable it needs to recognize 3 is the most recent score and count only 3, not 2. Therefore, the count of audit score 2 should only be 1.

  5. #5
    Registered User
    Join Date
    05-20-2016
    Location
    United States
    MS-Off Ver
    Microsoft Office 2013
    Posts
    23

    Re: PoverPivot Date

    Thank you so much for your answer! Unfortunately that has not solved the problem. I need it to count the max date per each specific supplier name and it is still counting the most recent score of all the suppliers not the most recent of each individual supplier. For example,without your test data we have an audit score of 2 and 3 for supplier ABC but the most recent score is a 3 so in the pivottable it needs to recognize 3 is the most recent score and count only 3, not 2. Therefore, the count of audit score 2 should only be 1.

  6. #6
    Registered User
    Join Date
    05-20-2016
    Location
    United States
    MS-Off Ver
    Microsoft Office 2013
    Posts
    23

    Re: PoverPivot Date

    mikeTRON, I should probably mention I think you are on the right track but I need it to calculate the max score from the latest DATE of the audit and then return that back to a pivottable. Hope that helps clarify my question. Thanks! :-)

+ 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. [SOLVED] Formula to compare date (including month and year) from a listed date to today's date
    By mhewitson15 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-11-2014, 05:31 PM
  2. Counting if data falls on date between Start Date, End Date or Possible End Date
    By JessHasQuestions in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 07-26-2014, 08:01 AM
  3. Replies: 1
    Last Post: 05-26-2014, 03:46 AM
  4. [SOLVED] Import Pivot table on PoverPivot
    By Christian1977 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 09-23-2013, 02:52 AM
  5. Replies: 1
    Last Post: 10-02-2012, 02:42 PM
  6. Replies: 1
    Last Post: 09-28-2012, 08:52 AM
  7. Replies: 7
    Last Post: 11-16-2008, 05:48 PM

Tags for this Thread

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