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
hi guys,
really hope you can help xxx
i am trying to show a report that shows a list of scores for when certain inspections are carried out.
if a question is applicable and it passes, the outcome is 1. if there is a fail it shows as a 0. it the asks to rate hos significant the defect is in the next column (ofi, minor or major)
my issue is that i want to show a table that shows what question is a failed, with the type of defect rating it has. because of the the stupid third party software it kiscks the data out in lateral rows as per below and the sinpections have over 80 questions , so i can really use something where i have to type all the columns out in dax.
ideally i would like to see what question it has failed on and the type of defect rating that has been typed in the column after. i tried unpivoting columns but it only lets me view what question fail, or the type of defect on a table....not both at the same time.
please help and i will love you forever!!x
to explain better here is a table showing example data and my desired output x
inspection carried about by | question 1 | defect rating 1 | question 2 | defect rating 2 | question 3 | defect rating 3 | inspection carried out by | question fail | defect rating | ||||||
dave | 1 | 1 | 1 | steve | question 1 | major | |||||||||
steve | 1 | 1 | 1 | will | question 3 | minor | |||||||||
steve | 0 | major | 1 | 0 | minor | steve | question 3 | minor | |||||||
ben | 1 | 1 | 1 | ||||||||||||
will | 1 | 1 | 0 | minor | |||||||||||
Hi @fstupot ,
Please try unpivotting columns.
Select the first column and click "Unpivot Other Columns".
Filter out 1, 0 and blank and below is the expected result.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 | |
153 | |
97 | |
79 | |
69 |