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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
newby-001
Regular Visitor

Count Measure not showing zero

I have a list of data and trying to do a count measure.  The count works, except for anything for a "level" of 0.  The correct data is as follows when I put it in a table visual:    

LevelTotal
024
12
2 
36
4160

However when I do a count:

= calculate(countrows(table1'),filter(table1',table1'[Level]&&table1'[s11]="e"))

I get the following:

LevelTotal
0 
12
2 
36
4160

Any ideas how I can populate the the level 0?

 

Thanks

 

 

1 ACCEPTED SOLUTION
newby-001
Regular Visitor

Solved it - I put >=0 and that brought it all in.  Thanks

View solution in original post

4 REPLIES 4
newby-001
Regular Visitor

Solved it - I put >=0 and that brought it all in.  Thanks

Hi, @newby-001 ;

Congratulations on solving the problem, Would you mind accept your replies as solutions? Then we are able to close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

ryan_mayu
Super User
Super User

@newby-001 

Why you add table1'[Level] in the filter and didn't add any restrictions? 

maybe try this?

= calculate(countrows(table1'),filter(table1',table1'[Level]=0 || table1'[s11]="e"))

if still not work, could you pls provide some sample data?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thanks, that populates the zero but everything else disappears

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.