cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Min of multiple dates

Hello Every one 

 

I need to take the min hour in some colums, but some of them are null, so when i use the min expression takes the null value as the min, so i need to evaluate only the rows wich are not blank. 

My calculated column is 

Min =MIN(MIN(BLOQ[Bloq_Entrega];BLOQ[Bloq_credito]);BLOQ[Bloq_comer])

but my result is still blank, even I I have two colums with data

 de.PNG

 

Please I need your Help!

1 ACCEPTED SOLUTION
Zubair_Muhammad
Community Champion
Community Champion

@Anonymous

 

USe this Calc column

 

Min =
VAR temp = { [Bloq_Entrega], [Bloq_credito], [Bloq_comer] }
RETURN
    MINX ( FILTER ( temp, [Value] <> BLANK () ), [Value] )

Regards
Zubair

Please try my custom visuals

View solution in original post

1 REPLY 1
Zubair_Muhammad
Community Champion
Community Champion

@Anonymous

 

USe this Calc column

 

Min =
VAR temp = { [Bloq_Entrega], [Bloq_credito], [Bloq_comer] }
RETURN
    MINX ( FILTER ( temp, [Value] <> BLANK () ), [Value] )

Regards
Zubair

Please try my custom visuals

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.