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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
PriscaSalve
Frequent Visitor

MIN VALUE WHEN NA VALUE EXCLUDE

I WANT TO GET MIN SCORE AS 5 BUT ITS SHOWING AS 10 COULD SOMEONE HELP IN DAXScreenshot 2023-08-16 225649.pngScreenshot 2023-08-16 225707.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @PriscaSalve ,

Please try to create a measure with below dax formula:

 

Measure =
VAR tmp =
    FILTER ( ALL ( 'Table' ), NOT ( ISERROR ( INT ( [score] ) ) ) )
RETURN
    MINX ( tmp, INT ( [score] ) )

 

vbinbinyumsft_0-1692689298091.png

Please refer the attached .pbix file.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @PriscaSalve ,

Please try to create a measure with below dax formula:

 

Measure =
VAR tmp =
    FILTER ( ALL ( 'Table' ), NOT ( ISERROR ( INT ( [score] ) ) ) )
RETURN
    MINX ( tmp, INT ( [score] ) )

 

vbinbinyumsft_0-1692689298091.png

Please refer the attached .pbix file.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

AnthonyGenovese
Resolver III
Resolver III

Your data type is character, not a number. 10 is less than 5. Create a new column in Power Query that only has numeric values and cast that data type correctly, or remove non-numeric values in the source. 

 

If this post was helpful, please kudos or accept the answer as a solution.
~ Anthony Genovese
Need more PBI help? PM me for affordable, dedicated training or consultant recomendations!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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