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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
MintPolo
Frequent Visitor

Power Query - True or False based on data in rows (whilst ignoring "null" values)

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.

Screenshot 2022-08-04 100403.png

 

Any help would be greatly appreciated. Thanks so much. 

1 ACCEPTED SOLUTION
SpartaBI
Community Champion
Community Champion
3 REPLIES 3
MintPolo
Frequent Visitor

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

SpartaBI
Community Champion
Community Champion

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.