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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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