Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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,
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
97 | |
75 | |
63 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |