The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello everybody,
I only renamed my query, but for some reason PQ change the name of the Source step to match the name of the query, and I can not get it back to Source.
There is nothing in the M code that would suggest a Source name change.
#table( type table [Data=record, Title = text], {
{[First="Bill", Last="Jelen"], "First"},
{[First = "Miguel", Last= "Escobar", Country ="Panama"],
"Second"},
{[First = "Ken", Last= "Puls", Country ="Canada",
#"Tall?" = true], "Third"}
} )
How can I change the Source step back to Source and
How can prevent PQ from changing the Source step in the future?
Thank you.
Solved! Go to Solution.
In order to control the step name shown in Applied Steps, you would have to use a let/in statement.
In this case you could write:
let
Source = #table(
type table [Data = record, Title = text],
{
{[First = "Bill", Last = "Jelen"], "First"},
{[First = "Miguel", Last = "Escobar", Country = "Panama"], "Second"},
{[First = "Ken", Last = "Puls", Country = "Canada", #"Tall?" = true], "Third"}
}
)
in
Source
Regards
There is no source, its just a table expression. Just because it's your first applied step doesn't mean that it's the source or is a source even.
--Nate
There is no source, its just a table expression. Just because it's your first applied step doesn't mean that it's the source or is a source even.
--Nate
In order to control the step name shown in Applied Steps, you would have to use a let/in statement.
In this case you could write:
let
Source = #table(
type table [Data = record, Title = text],
{
{[First = "Bill", Last = "Jelen"], "First"},
{[First = "Miguel", Last = "Escobar", Country = "Panama"], "Second"},
{[First = "Ken", Last = "Puls", Country = "Canada", #"Tall?" = true], "Third"}
}
)
in
Source
Regards