cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
daniel_guelfi
Frequent Visitor

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 @daniel_guelfi ,

 

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
daniel_guelfi
Frequent Visitor

Thanks for the awnser!

 

Helped me a lot.

 

Best regards,

Daniel.

v-mengzhu-msft
Community Support
Community Support

Hi @daniel_guelfi ,

 

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
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power BI Dev Camp Session 27

Ted's Dev Camp

This session walks through creating a new Azure AD B2C tenant and configuring it with user flows and custom policies.