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
Anonymous
Not applicable

Percentage lower than a certain value

liamcol_0-1613015909738.png

 

What would be the dax/ syntax to create a measure to count how many values are below 0.7 and divide it by the total number of rows??


Thanks!!

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Anonymous , Try a measure like

calculate(countrows(Table), filter(Table, Table[Data Quality] <.7))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

Hi @Anonymous ,

 

Check if this works.

 

Measure = DIVIDE( [Failed Scans], COUNT('Banpu Data '[Data Quality]))

 

Regards,

Harsh Nathani

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

liamcol_0-1613019475500.png

I am now tryign to create a new measure to divide the number of failed scans (measure) by the count of data quality. I tried this but it is not working? 

Measure = SUMX('Mine Data ',[Failed Scans]/COUNT('Banpu Data '[Data Quality]))
 
Thanks!

 

Hi @Anonymous ,

 

Check if this works.

 

Measure = DIVIDE( [Failed Scans], COUNT('Banpu Data '[Data Quality]))

 

Regards,

Harsh Nathani

amitchandak
Super User
Super User

@Anonymous , Try a measure like

calculate(countrows(Table), filter(Table, Table[Data Quality] <.7))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.