Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I am wondering if someone could offer guidance on where to add new columns? I realise I can add them in Query Editor also in the main editor. But what is best practice? I am getting my data source from VSTS data analytics for this project. The columns I am adding at the moment are used to give me a count of how many items are in a certain state. I am currently using the query editor:
let Source = VSTS.AnalyticsViews("testvsanalytics", "MyFirstProject", []), #"b91b2973-71f5-4aec-97da-1bcd9177d760_Table" = Source{[Id="b91b2973-71f5-4aec-97da-1bcd9177d760",Kind="Table"]}[Data], #"Inserted Text After Delimiter" = Table.AddColumn(#"b91b2973-71f5-4aec-97da-1bcd9177d760_Table", "Iteration", each Text.AfterDelimiter([Iteration Path], "\"), type text), #"Replaced Value" = Table.ReplaceValue(#"Inserted Text After Delimiter",null,#datetimezone(2000, 1, 1, 0, 0, 0, 10, 0),Replacer.ReplaceValue,{"Completed Date"}), #"CompletedLate" = Table.AddColumn(#"Replaced Value", "CompletedLate", each if [Completed Date] > [Iteration End Date] then 1 else 0), #"InComplete" = Table.AddColumn(#"CompletedLate", "InComplete", each if [State Category] <> "Completed" and [Iteration End Date] < DateTimeZone.FixedLocalNow() then 1 else 0), #"CompletedInTime" = Table.AddColumn(#"InComplete", "Completed", each if [State Category] = "Completed" and [Completed Date] < [Iteration End Date] then 1 else 0) in #"CompletedInTime"
Thanks for your advice.
Solved! Go to Solution.
Hi Everton,
I believe the easiest way is to create in the report view.
Create a new column in Home button of Menu Bar.
Regards,
Hi Everton,
I believe the easiest way is to create in the report view.
Create a new column in Home button of Menu Bar.
Regards,