Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. 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"
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 37 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 67 | |
| 34 | |
| 33 | |
| 30 |