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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors
Top Kudoed Authors