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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
LoayN
New Member

countrows counting false and null

hi i am new to power BI i have the following measure

 

Cal Motor Fails = COUNTROWS(FILTER(PA1302, PA1302[Calibrate Motor]=FALSE()))
 
i want to count the number of "falses" in the "Calibrate Motor" column. the problem is that the above measure counts FALSEs and null together.
 
i want to separate them.
 
thanks in advance
Loay
1 ACCEPTED SOLUTION
mangaus1111
Solution Sage
Solution Sage

Hi @LoayN ,

 

use  'Table'[Calibrate Motor] == FALSE(), instead of 'Table'[Calibrate Motor] = FALSE()

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
mangaus1111
Solution Sage
Solution Sage

Hi @LoayN ,

 

use  'Table'[Calibrate Motor] == FALSE(), instead of 'Table'[Calibrate Motor] = FALSE()

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

hi @mangaus1111 

 

this worked perfectly!!

thanks

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.