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
mussaenda
Super User
Super User

Getting Values From 2 different tables using measure

Can somebody teach me how to get the values from column by using measure?

 

I have Table 1, Table 2 and Selection.

the Logic is, If selection = 1, show the date from table1

if selection = 2, show date from table2

else, show date1 && date 2

 

Also,

I have $/kg from both tables.

Same logic as above. I don't want to aggregate them unless I did not choose anything from the selection table.

 

 

Thank you for the help.

2 REPLIES 2
tjlee
Frequent Visitor

Dynamic column is not possible currently, if this was a measure then it is possible.

You could achieve something similar using the technique mentioned in this blog 

How to do multivariate reporting with Power BI

https://powerbi.microsoft.com/en-us/blog/how-to-do-multivariate-reporting-with-power-bi/

 

It involes using slicer button and assigning favorites with different columns in a chart object.

 

MFelix
Super User
Super User

Hi @mussaenda ,

 

Can you please add more information about your question?

Please see this post regarding How to Get Your Question Answered Quickly:

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490 (courtesy of @Greg_Deckler).

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



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.