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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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