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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
phull543
Frequent Visitor

Add column to display name of data source

Hello, I need to identify the data source in a table because I am going to append queries and combine all the queries listed on the left into one table. So I want to implement a column to identify each data source so that when I am displaying the appended querie in one table I can filter that table by brand name. So for example I have a query called CRENDON, I need to add a column that identifies it as such. All help is appreciated. 

 

phull543_0-1673535405691.png

 

1 REPLY 1
BA_Pete
Super User
Super User

Hi @phull543 ,

 

There's no OTB way to do this in Power Query.

If your queries are fixed on those brands, then I'd suggest either:

In Power Query add a new custom column:

= "CRENDON"

...or in the native query:

SELECT *, 'CRENDON'
FROM ~

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors