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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register 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
Super User
Super User

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.