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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.