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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi there,
I'm trying to ascertain the number of pupils that have achieved all their grades being 7 to 9.
For this, I want power query to look across all subjects, check if the value is 7 or greater, and if so for all subjects, return a value of "true" in a final column.
However, not all pupils take the same subjects, and a lot of the cells will have a null value - but I don't want these null values to be considered when ascertaining if they achieved all grades 7 to 9. I want the null values ignored.
E.g.
Any help would be greatly appreciated. Thanks so much.
Solved! Go to Solution.
@MintPolo
Here is a link to download a sample solution file:
Power Query - True or False based on data in rows 2022-08-04.pbix
Bless you Sparta. Greatly appreciated!
@MintPolo my pleasure 🙂
P.S. Check out my showcase report - got some high level stuff there. Sure you will find there a lot of cool ideas. Please give it a thumbs up over there if you liked it 🙂
https://community.powerbi.com/t5/Data-Stories-Gallery/SpartaBI-Feat-Contoso-100K/td-p/2449543
@MintPolo
Here is a link to download a sample solution file:
Power Query - True or False based on data in rows 2022-08-04.pbix
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |