cancel
Showing results for
Did you mean:
Member

## DAX Calculation with Multiple Slicers and Tables

Community,

I am seeking help with a calculation (the DAX) that includes using a slicer and multiple tables. I hope that I have provided enough information to get the help I need.

The calculation we are seeking is to multiple the "Raw Data" in Table 1 by a "Multiplier" in Table 4. The multiplier is determined by the "Multiplier ID" in Table 4 selected in a slicer of  "Multiplier ID" in the table.

Data Model Information:

Below are the tables and relationships used in this example.

Table 1 Data ID is related to Table 2 Data ID

Table 2 Attitude ID is related to Table 4 Attitude ID

Table 3 is not used in the example

In this example "Attitude ID" 1,2,and 3 can use "Multiplier ID" 1 or 2, I'm trying to use the slicer to select which "multiplier" is used on each the "Raw Data" based on the "Attitude ID".

Below is what I would like to return;

In Table 1,  "Data ID" 1 and 5 share the same "Attitude ID" (1) in Table 2,

in Table 4 "Attitude ID" 1 can use "Multiplier ID" 1 or 2.

If I have a slicer of the "Multiplier ID" and select 1,

the calculation (named DataMultiplies) for "Data ID" 1 should return 5 (25*0.2, "Raw Data" * "Multiplier") and for "Data ID" 5 should return 9 (30*0.3, "Raw Data" * "Multiplier")

Any help with the DAX for this is greatly appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IV

## Re: DAX Calculation with Multiple Slicers and Tables

@wayers use following measure

`Raw data x multipler = SUM( 'Table 1'[Raw Data] ) * MAX( 'Table 4'[Mupltipier] )`

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

6 REPLIES 6
Super User IV

## Re: DAX Calculation with Multiple Slicers and Tables

@wayers if you can share your sample data in pbix file using one drive/google drive, I will get you the solution.

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Member

## Re: DAX Calculation with Multiple Slicers and Tables

Click below for BI file

Test BI File

Member

## Re: DAX Calculation with Multiple Slicers and Tables

Link to PBIX file (first post incorrect)

Super User IV

## Re: DAX Calculation with Multiple Slicers and Tables

@wayers hey try to download the file but taking forever. you can send it by email and emai address is in my signature.

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Highlighted
Super User IV

## Re: DAX Calculation with Multiple Slicers and Tables

@wayers use following measure

`Raw data x multipler = SUM( 'Table 1'[Raw Data] ) * MAX( 'Table 4'[Mupltipier] )`

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Member

## Re: DAX Calculation with Multiple Slicers and Tables

Thank you so much for the help on this!!

Announcements