March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have below queries in my dataset. I need to add a column with value as the query name in both the queries.
For Instance, Query1 has below tables:
And I need to add a column as below:
Is there any option to add custom column like this? Please help me.
Did you try https://radacad.com/get-list-of-queries-in-power-bi ?
Proud to be a Super User!
Hey @Anonymous ,
yes, that's easily managable.
Go to Power Query to your Query1, then choose "Add Column" --> "Custom Column" and then add the Text "Query1":
Afterwards the column will appear in your table.
Hello, Thanks for your reponse.
Sorry, I need to be more clear on my requirement. My Query name is dynamic, Everytime, its not possible to go and change the text in the Custom column step.
Instead I need a step to add the name of the Query name.
@Anonymous then tell us where you get the dynamic name from and I might find a solution.
By the way, if you answer always mark people with an @- Symbol. Otherwise I will not be informed about the new reply.
the dynamic name is the Query name only. I need to get the Query name as a column values.
is there any custom column functions to get the required output. Please refer to the images attached in the initial query.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
157 | |
97 | |
79 | |
69 |