This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello!
I have a Query table like this:
| ID | Name | QA1 | QA1_ErrorType1 | QA1_ErrorType2 | QA1_ErrorType3 | Weekly_QA | Weekly_QA_ErrorType1 | Weekly_QA_ErrorType2 | Weekly_QA_ErrorType3 | Followup_QA | Followup_QA_ErrorType1 | Followup_QA_ErrorType2 | Followup_QA_ErrorType3 |
| 1234 | Peter | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 1234 | Peter | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 1234 | Peter | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
It is just an example, there are many names, IDs and 0/1 combinations in my table.
I need to write a table which would have information on all QAs for each unique IDs:
| ID | Name | QA1 | QA1_ErrorType1 | QA1_ErrorType2 | QA1_ErrorType3 | Weekly_QA | Weekly_QA_ErrorType1 | Weekly_QA_ErrorType2 | Weekly_QA_ErrorType3 | Followup_QA | Followup_QA_ErrorType1 | Followup_QA_ErrorType2 | Followup_QA_ErrorType3 |
| 1234 | Peter | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
| ..... |
Please let me know how to do it in Query Editor?
Solved! Go to Solution.
You just have to use the Group function in Power Query, grouping by your id and summing other columns. The first icon on the toobar "Transform"
You just have to use the Group function in Power Query, grouping by your id and summing other columns. The first icon on the toobar "Transform"
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 41 | |
| 40 | |
| 36 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 72 | |
| 59 | |
| 34 | |
| 27 | |
| 25 |