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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors
Top Kudoed Authors