cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper III
Helper III

DAX lookup = merge queries?

Hi guys, please help me and explain ? I created a calculated column in DAX:

 

Route = LOOKUPVALUE(Manual[Route_full], Manual[Route], Trains[Route])
So in Trains I get Route_full column with no blank values.
 
Now in Power Query when I merge Trains with Manual (left outer) through Route column I get null values.
 
Not sure why, any thoughts?
 
2 REPLIES 2
Community Support
Community Support

@aleksandra_stan 

Merge Queries can achieve similar goals to lookupvalue. Maybe provide sample tables and expected output, see if we can help you to make it.

 

Paul Zheng _ Community Support Team

Super User IV
Super User IV

@aleksandra_stan - Sample data would be good but I'm wondering about your setup here. Since you are using DAX for your Route column, that means it is a calculated column and that calculation occurs after Power Query does its work so I am wondering if the issue here is the order of operations? Would need sample data to recreate.


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




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

Proud to be a Super User!




Helpful resources

Announcements
secondImage

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors