cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Using two different columns from different tables in a DAX measure

Good timezone, everyone!

 

I need some help with a DAX measure that I'm struggling a bit.

 

This is my actual measure that I'm using:

my_calc.PNG

it works wonders, but I need to do some improvement on it.

I have this two tables, with a common ID for realtionship beetween the tables.

Every "entas_cod" is a different entity with unique values, like below.

tables.PNG

table.PNG

Can I have something that work like a filter to use like "entas_cod = 1" then it will use the selected value in the columns for that measure?

calc.PNG

 

1 ACCEPTED SOLUTION
v-mengzhu-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can directly put slicer to choose the value you want.

 

It is equivalent to you just put the columns you need to select values into each of the three slicer, and you are done.

 

Best regards,

Community Support Team Selina zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thanks for the awnser!

 

Helped me a lot.

 

Best regards,

Daniel.

v-mengzhu-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can directly put slicer to choose the value you want.

 

It is equivalent to you just put the columns you need to select values into each of the three slicer, and you are done.

 

Best regards,

Community Support Team Selina zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!