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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Julian_H
Helper II
Helper II

Lookupvalue but column doesnt exist

Hi, I am trying to set up a table where not all the columns are present in the source table.

 

example

 

Col 1, Col 2, Col3,Col4

 

Source data only has Col1 and 3

 

So I want populate Col and 3 with the data and leave the other blank

 

I have tried in M Query and it takes over 30mins to load 50 columns

 

I have also tried in Dax lookupvalue , but as the column doesnt exist in the source file it errors.

Is there a way to subdue this error

 or is there a better way to do this 

Thank you

 

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

6 REPLIES 6
Ahmedx
Super User
Super User

pls read about append in power query

Ahmedx
Super User
Super User

Screenshot_5.pngScreenshot_2.pngScreenshot_3.pngScreenshot_4.png

Thank you works great 🙂

Greg_Deckler
Super User
Super User

@Julian_H I'm not quite understanding this scenario. Can you maybe elaborate along with some sample data?


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Apologies, 

 

I have a template table with all the columns I need in,but the source file only has a few of these columns.

How do I populate the template with columns that are available in the source file and leave all the other blank

 

Julian_H_0-1691044379447.png

 

Julian_H_1-1691044551327.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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