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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
SIBI1998
Helper I
Helper I

MIN DATE FUNCTION

Hi Everyone,

 

                Here I have Stuck with MIN DATE function from FROMM_DATE ; from mx APBDR we have 3 Same Values of NSP10 and 3 Different Values in FROM_DATE.

 

   I have need only 11-May-20 from that which is MINIMUM of Nsp10.

 

 

SIBI1998_0-1650433772204.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @SIBI1998 ,

 

Create a measure like below and add it to visual filter set value = 1.

measure =
IF (
    SELECTEDVALUE ( [FROM_DATE] )
        = MINX ( ALLEXCEPT ( 'table', [mx apbdr] ), [FROM_DATE] ),
    1,
    0
)

 

Best Regards,

Jay

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @SIBI1998 ,

 

Create a measure like below and add it to visual filter set value = 1.

measure =
IF (
    SELECTEDVALUE ( [FROM_DATE] )
        = MINX ( ALLEXCEPT ( 'table', [mx apbdr] ), [FROM_DATE] ),
    1,
    0
)

 

Best Regards,

Jay

tamerj1
Community Champion
Community Champion

Hi @SIBI1998 

place this measure in the filter pane of the table visual and select "Is" and inset the value 1 then apply

Filter Measure =
VAR CurrentDate =
    MAX ( Table[FROM DATE] )
VAR MinDate =
    MINX (
        CALCULATETABLE ( ALL ( Table ), ALLEXCEPT ( Table, Table[mx APBDR] ) ),
        Table[FROM DATE]
    )
RETURN
    CurrentDate = MinDate
amitchandak
Super User
Super User

@SIBI1998 ,please try measure like

minx(filter(allselected(Table), Table[mx APBDR] = max(Table[mx APBDR]) ), Table[FROM_DATE])

 

or

 

or min(Table[FROM_DATE]) 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.