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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
mussaenda
Community Champion
Community Champion

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.