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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I am currently having trouble with implementing a solution that checks if certain columns are either 0 or 1 and create a table where rows are the sum of the number of lines with 1 for each column. Something like this:
| Id | Error1 | Error2 | Error3 |
| a | 0 | 0 | 1 |
| b | 0 | 1 | 0 |
| c | 1 | 0 | 1 |
The result column should be:
| Error | Count |
| Error1 | 1 |
| Error2 | 1 |
| Error3 | 2 |
I also need it to be possible, that if I click a row in the second table, it will filter the other tables to show only entries with the Ids that contain that error.
Is it possible to do something like this in Power BI?
Thank you in advance.
Solved! Go to Solution.
@T_von_Axt , Unpivot the error columns in power query then you can do a simple sum
Or
in matrix visual put them in values, and enable show on row
Thank you. It worked perfectly 🙂
@T_von_Axt , Unpivot the error columns in power query then you can do a simple sum
Or
in matrix visual put them in values, and enable show on row
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!