cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
christianyepez2 Regular Visitor
Regular Visitor

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

Accepted Solutions
Super User
Super User

Re: Min of multiple dates

@christianyepez2

 

USe this Calc column

 

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

Re: Min of multiple dates

@christianyepez2

 

USe this Calc column

 

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

Helpful resources

Announcements
GregDeckler

How to Get Your Question Answered Quickly

Power BI Super User, Greg Deckler, explains

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Back to School Contest

Back to School Contest

Engage and empower students with Power BI!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Ideas
Users Online
Currently online: 6 members 1,218 guests
Please welcome our newest community members: