Results 1 to 2 of 2

Thread: Want to be able to delineate a table based upon a slicer

  1. #1

    Want to be able to delineate a table based upon a slicer



    Register for a FREE account, and/
    or Log in to avoid these ads!

    Hi,

    I've got a table of data with a bunch of stock tickers in a column with each having an associated metric in another column (say, P/E). I want to build a pivot table so that I can have a slicer with several different levels (ie 10,15,20,25,30,etc). When I click one of the buttons on the slicer, say 15, only the tickers with aP/E of less than 15 are displayed, along with the P/E ratio.

    I tried using an unconnected table with the levels, then doing an "if" statement in a calculated column on the ticker table and using the "max" function with filter(), but can't get it to work. So my question is, is there a way of making the "if" statement dynamically change based upon what's selected on the slicer? Or should I do it another way, perhaps with a measure?

    There should be an easy way, I assume, but my inexperience with Powerpivot is a hindrance.

    Thanks

  2. #2
    I think you were on the right track with the disconnected table and slicer. Sometimes it's easier to see it in action and dissect it. Let me know if the attached example helps.
    Attached Files Attached Files

Tags for this Thread

Posting Permissions

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