This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
I'm bringing a PDF into Power BI that contains 3 tables that I would like to append to create one "master" table. All of the columns match up, and I can append the data as needed with no issue. However, I need a column in the new "master" table that identifies each row's source table.
I want to add a column called "Source" to the query for each of the source tables, of which every value will correspond to that source. E.g. the every value in the "Source" column in Table 1 of 3 will be "Table 1" etc. My thinking is that when I append the 3 tables, I will be able to differentiate which table the data originally came from using the "Source" column.
I'm relatively new to this, so I may be missing something obvious but I'm struggling to do this, as there doesn't appear to be a way to add a column with manual values to a table?
I should add that I can't add the identifying column before processing as I am not the publisher of the PDF, and it is updated weekly.
Example of the logic:
Table 1
| Source (to add) | 2021 Value | 2022 Value |
| Table 1 | 345 | 546 |
Table 2
| Source (to add) | 2021 Value | 2022 Value |
| Table 2 | 456 | 123 |
Master/appended table
| Source (to add) | 2021 Value | 2022 Value |
| Table 1 | 345 | 546 |
| Table 2 | 456 | 123 |
Thanks
Solved! Go to Solution.
Hi @PowerBiKing ,
I may be missing something here, but can't you just add a new custom column to each query with the calculation = "Source 1/2/3" ?
Pete
Proud to be a Datanaut!
Hi @PowerBiKing ,
I may be missing something here, but can't you just add a new custom column to each query with the calculation = "Source 1/2/3" ?
Pete
Proud to be a Datanaut!
Ah yes thank you!
When I tried this earlier I couldn't get it to work (think I missed off the quotations) and I assumed that you couldn't just hard code it.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.