cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
brief001
Helper II
Helper II

Find lowest time value in a column

I am looking for a DAX formula for a calculated column.

I want to see the earliest start, which must be the same [Date] and [Name].

 

brief001_1-1665926280707.png

 

 

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @brief001

please try

Earliest Start =
MINX (
    CALCULATETABLE (
        Table_Roster,
        ALLEXCEPT ( Table_Roster, Table_Roster[Date], Table_Roster[Name] )
    ),
    Table_Roster[Start]
)

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @brief001

please try

Earliest Start =
MINX (
    CALCULATETABLE (
        Table_Roster,
        ALLEXCEPT ( Table_Roster, Table_Roster[Date], Table_Roster[Name] )
    ),
    Table_Roster[Start]
)

Thanks for the quick response. Your formula is clear to me. Also immediately looked up something about 'ALLEXCEPT'. I can probably use this more often.

 

Thanks!

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.

Top Solution Authors
Top Kudoed Authors