Forum Discussion
Anonymous
7 years agoNot applicable
What steps to transform data for visualization?
I have a survey of 5 students answering the same question about 100 quiz questions and an auditor that also answers the questions for a sample of the questions. See sample of data below: sour...
v-jiascu-msft
Microsoft Employee
7 years agoHi Anonymous,
Please download the demo from the attachment. You can click the steps to see details if there are some.
if Text.Start([Attribute], 7) = "Auditor" then "Auditor" else if Text.Start([Attribute], 7) = "Student" then [Value] else let index = [Index] in Table.Max(Table.SelectRows(#"Added Index", each [Index] < index and Text.Start([Attribute], 7) = "Student"), "Index")[Value]
Best Regards,