Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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 info | Random system info | Random system info | ||
| Random system info | Random system info | Random system info | ||
| Name | Hiring date | Title | Unnecessary info | Unnecessary info |
| Name 1 | 01/01/2000 | Manager | sd23rfse3 | 65j1yt56tjt |
| Name 2 | 02/02/2000 | Assistant | 98798kgjh98k | 65as4d56sa |
Transformed file:
| Name | Hiring date | Title |
| Name 1 | 01/01/2000 | Manager |
| Name 2 | 02/02/2000 | Assistant |
Info I would like to have:
| Name | Hiring date | Title | Workplace |
| Name 1 | 01/01/2000 | Manager | Address 1 |
| Name 2 | 02/02/2000 | Assistant | Address 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!
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!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 5 | |
| 4 |