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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Question with Transforming Data in Power Query

Can you do some sort of Lookup Value in Power Query instead of using like a DAX code to create a table from just the report view? 

2 REPLIES 2
artemus
Microsoft Employee
Microsoft Employee

To do a lookup in Power Query use:

 

 

LookupTable{[KeyColumn = "SomeValue"]}[DesiredColumn]

 

Add a ? to the end if the lookup may fail (in which case you get null)

 

jbwtp
Memorable Member
Memorable Member

Hi @Anonymous,

 

There is no simple way to get data back from the report/visual to Power Query (or at least this is very mcuh limited as now we have parametes that can be fed to the PQ model). Generally, this is one way lane. But if you know what you need there may be a way to process data in PQ to get the result that you want.

 

Kind regards,

John 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors