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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors