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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
laurahoff97
Frequent Visitor

LOOKUPVALUE to conditional column in Power Query Editor

I have two data sets that are connected through a column. Through that connection I was able to do a LOOKUPVALUE column creation and move data from one table into the other. Example below, because directors lined up I was able to add a new column to the requests table from the personnel table using (example photos in excel but work took place in powerbi)

Leader Email = LOOKUPVALUE(Personnel Mapping[Leader Email]Personnel Mapping[Director]Requests[Director]).

laurahoff97_3-1723560301196.png

 

laurahoff97_2-1723560263093.png

 

The requests table is my main table so I want to continue working there. From this new leadership email column brought in I want to create conditional columns in power query editor but because the new leadership email column is just a regular new column calculation in powerbi desktop, it is not showing up as an option in power query editor as a column name when I go to add a conditional column. 

laurahoff97_5-1723560616206.png

 

Is there a way I can preform this so that I can add conditional columns based on the newly added column pulled from a separate table?

 

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@laurahoff97 DAX calculated columns happen after Power Query processing and thus will not show up in Power Query Editor. You would need to create that column as part of a query in Power Query Editor. Probably via a Merge step.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
laurahoff97
Frequent Visitor

I did merge queries, selected the two columns that matched and a new column appeared in my requests table that included all columns from the personnel table. Following that I filtered it down to the one column I needed and then the results were the same from lookup value and can be filtered on the email values. Thanks for your help!

Greg_Deckler
Community Champion
Community Champion

@laurahoff97 DAX calculated columns happen after Power Query processing and thus will not show up in Power Query Editor. You would need to create that column as part of a query in Power Query Editor. Probably via a Merge step.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

how do I create the column in power query? I have been attempting different things but haven't been able to figure it out

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.