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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors