+ Reply to Thread
Results 1 to 2 of 2

RankX based on Slicer selection in PowerPivot

  1. #1
    Forum Contributor
    Join Date
    10-14-2020
    Location
    Shanghai
    MS-Off Ver
    O365
    Posts
    156

    RankX based on Slicer selection in PowerPivot

    Hi,

    I do have a Datamodel with Dates, Machines and Index. They are related and in the worksheet I do have some slicers to filter.
    Based on the slicer I want to have an Rankindex to find the worst machine. Then I want to create 3 Pivot tables and select these worst machines by ValueFilter Rankindex =1, =2, =3.

    I do have the issue now that the rankx is not working as I wish:

    Problems:
    1.Rankx start to count with 2.
    2.When filter the PvtTop10 by TOP 10 Value for RankIndex, I do get a complete different List then expected. The RankIndex is also different, but at least start with 1. I just want to keep the first 10 rows basically, not a new calculation of my RankIndex
    3. If i go to the PvtTop1 and filter by rankindex =1, I do not see any data.

    I guess if these 2 issues are fixed, the 3 one will be solved automatically

    My formulas:

    I tried RankIndex
    Please Login or Register  to view this content.
    and RankIndexIf
    Please Login or Register  to view this content.
    Both do the same, both have the same issues.

    I tryed also other formulas, just dont get my desired results.
    Any ideas?

    thanks
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    10-14-2020
    Location
    Shanghai
    MS-Off Ver
    O365
    Posts
    156

    Re: RankX based on Slicer selection in PowerPivot

    hi

    short update, in case someone is interested.
    I managed to do the measure now.

    RankIndexIF
    Please Login or Register  to view this content.
    Work like i want it to do

    Guess I understand the formula better now, but still not an expert
    Attached Files Attached Files

+ 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. VBA To take the values in ramge & Apply to the PowerPivot Slicer.
    By saudi_red_neck in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 08-01-2020, 03:41 PM
  2. Use slicer to hide columns based on selection in another pivot table
    By ultimathor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-28-2020, 07:06 AM
  3. Replies: 1
    Last Post: 04-23-2018, 09:43 AM
  4. [SOLVED] Limiting Slicer Selection based on user access
    By lolaryong in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-11-2017, 02:27 AM
  5. Refresh Pivot Data based on slicer selection
    By skate1991 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-23-2017, 11:59 AM
  6. PowerPivot: Can't add slicer to Pivot Table
    By SH81 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-12-2017, 11:04 AM
  7. Slicer Macro - unfilter another slicer on selection
    By chadheins in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-24-2012, 10:41 AM

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