Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Counting number of potential options across multiple fields

We have recently started using Microsoft Lists to complete compliance assessments of elements of our workplace. We've then produced a really useful dashboard to analyse all the data and it's proving really useful.

 

We have about 20 metrics we are assessing, and each of these elements can have one of the below responses:

  1. Correct
  2. Not Correct
  3. Not Read
  4. Input Error
  5. N/A

The one thing we're struggling with though is getting all the information into a monthly report we need to send off. We want to produce a matrix or similar that would give us something along the lines of:

Metric nameCorrectNot CorrectNot ReadInput ErrorN/A
Metric 18005420
Metric 27812412

etc etc

 

Each cell should be a count of how many incidents were recorded with the option in the column header. 

 

I can't post the exact data, however it comes through from lists along these lines:

 

Incident numberMetric 1Metric 2Metric 3Metric 4
1CorrectNot CorrectCorrectCorrect
2Not CorrectInput ErrorN/ANot Correct
3CorrectCorrectCorrectCorrect
4Input ErrorNot CorrectCorrectCorrect

etc etc 

 

Personally I am more used to Excel formulas and know how I would do it there, but in Power BI I keep getting strange layouts that cross reference the information, or nest each metric inside another metric instead of just displaying it all line by line.

 

I feel like I'm missing something painfully obvious, but I just can't see what it is.

 

Any support would be much appreciated. First time posting on here, so if i've missed something blaringly obvious out please let me know. 

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@Anonymous you need to unpivot your data, in transform data, select incident number column -> right click -> unpivot other columns and you will get two columns, Attribute and Value, rename it as you see fit. to visualize the data, use matrix visual, put attribute on rows, value on columns and count on values and you will get following result.

 

parry2k_0-1631304370187.png

 

 

Follow us on LinkedIn

 

Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

2 REPLIES 2
parry2k
Super User
Super User

@Anonymous you need to unpivot your data, in transform data, select incident number column -> right click -> unpivot other columns and you will get two columns, Attribute and Value, rename it as you see fit. to visualize the data, use matrix visual, put attribute on rows, value on columns and count on values and you will get following result.

 

parry2k_0-1631304370187.png

 

 

Follow us on LinkedIn

 

Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

That's amazing!

 

I've had to load the data in again as a separate table as otherwise i would lose all the existing work we have (as I don't fancy going through every visual to update to the new standard), but this has worked PERFECTLY.

 

Thank you so much!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.