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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
zzzsharepoint
Helper I
Helper I

Count the number of Occurence without Blank value

Hi I have table where I have data like this

 

Column1
aa
ss
 
aa
ss
bb

 

I need the occurence of each value like aa-2 , ss-2 bb-1 and i do not need occurence of blank values. How can I do that?

Thanks

1 ACCEPTED SOLUTION
Anand24
Super User
Super User

Hi @zzzsharepoint ,
Please use below DAX in a calculated measure:

Count with NO Blank = IF(MAX('Table'[Column1]) <> BLANK(),COUNT('Table'[Column1]),"")


Result:

Anand24_0-1661503714890.png

 

PBI_SuperUser_Rank@1x.png  

Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!!

Proud To Be a Super User !!!
LinkedIn

View solution in original post

1 REPLY 1
Anand24
Super User
Super User

Hi @zzzsharepoint ,
Please use below DAX in a calculated measure:

Count with NO Blank = IF(MAX('Table'[Column1]) <> BLANK(),COUNT('Table'[Column1]),"")


Result:

Anand24_0-1661503714890.png

 

PBI_SuperUser_Rank@1x.png  

Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!!

Proud To Be a Super User !!!
LinkedIn

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors