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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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