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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
WilliamAzevedo
Helper II
Helper II

Is it possile to keep a data cell/field in an Excel table "Power Query'ed" from another excel file?

Hello everyone.

 

I have an .xlsx file which i treat using Power Query to generate a table in another .xlsx file from which I recover information and feed PowerBI visuals. I would like to know if it's possible do add a "field" (in practical terms, a cell) to each row that behaves like a database field. Those tables contain workers information that can change in time. I'll try to illustrate:

 

Original base file (generated from specific database system):

Random system infoRandom system infoRandom system info  
  Random system infoRandom system infoRandom system info
NameHiring dateTitleUnnecessary infoUnnecessary info
Name 101/01/2000Managersd23rfse365j1yt56tjt
Name 202/02/2000Assistant98798kgjh98k65as4d56sa

 

Transformed file:

NameHiring dateTitle
Name 101/01/2000Manager
Name 202/02/2000Assistant

 

Info I would like to have:

NameHiring dateTitleWorkplace
Name 101/01/2000ManagerAddress 1
Name 202/02/2000AssistantAddress 2

 

First I thought of just creating a new column on the table, but it came to my mind that when the data changes, the information probably will be displaced. I also thought of creating a conditional column in Power Query, but i'm dealing with hundreds of rows, it would end up being so cumbersome even the first idea sounded better. And for some nonsense reason I was told that the most oubvious, which is including the info already in the database system, won't be done.

So is it possible o achieve this with Power Query? Thank you in advance for any help!

2 REPLIES 2
lbendlin
Super User
Super User

You seem to be describing reference tables  (sometimes called BMT - Business Managed Table).  Usually you want to add them to your data model and let the relationships do the work for you.

It souns great! Can you point me how to do it?

 

Thank you!

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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

Top Solution Authors
Top Kudoed Authors