+ Reply to Thread
Results 1 to 1 of 1

What-if in DM DAX Model with slicers

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

    What-if in DM DAX Model with slicers

    Hi,
    I do have a kind of What-if problem I want to solve. My solution is working for a single selection of an ID number but not for multiple selections. Anyone has an idea how I need to modify my formula to be able to use multiple ID to apply the discount from the discount slicer?

    Background:
    Sales table where I want to apply a percentage to calculate new sales values based on the percentage.
    I created two helper tables in PQ and use them to select the discount level for a selected partnumber.


    Problem:
    I can only choose one partnumber (=ID) to apply. The ID also need to be in the row of the pivot chart so my formula is working. I know that my formula is wrong as its is designed for one value,but I dont know how to modify to apply for multiple selection

    What I want:
    Select 1 or 2 or 3 ID and apply the discount to all of the selected ID
    Be able to use the measure
    Please Login or Register  to view this content.
    even if the ID is not in the pivot table


    Measure used:
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

    I hope my example is easy to understand

    thanks a lot
    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. [SOLVED] Pivot Table Slicer Field names (Data model vs Non Data Model)
    By NewYears1978 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 11-02-2021, 10:52 AM
  2. choose a model from a list and get prices from that model
    By peterroq in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-29-2021, 08:58 AM
  3. [SOLVED] Data Model Pivots, Slicers, Time Durations - Trying to Make These Work Together
    By azscootergirl in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 11-13-2020, 07:47 PM
  4. [SOLVED] Disconnect Slicers, Change Pivot Table Source, Reconnect Slicers: a problem
    By Geoff. in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-30-2015, 02:27 PM
  5. How to make a time period a variable for this model? (automating the model)
    By pigment01 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-17-2015, 12:47 PM
  6. VBA Model : Two Stage Gordon Model
    By elaph in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-29-2014, 11:37 AM
  7. Create a model that will generate a column of numbers based on model parameters
    By tncanoeguy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-01-2013, 05:47 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