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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.