Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Anonymous
Not applicable

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.

Anonymous
Not applicable

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.