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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
learner03
Post Partisan
Post Partisan

Output based on Latest timestamp

I have this table-

I need to get picker name column in Sales order table in such a way that the name of the picker should be the one picking currently or  the one who picked last.

I used the column as -

User Name = var Orderno=SalesOrder[order no]
return
calculate(MAX(History[Picker]),filter(History,History[order no]=Orderno))
 
but not getting the desired output.

akapoor03_0-1676337825232.png

Sales order table

akapoor03_1-1676337857972.png

 

1 ACCEPTED SOLUTION
CNENFRNL
Community Champion
Community Champion

Simple enough,

CNENFRNL_0-1676348249530.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

View solution in original post

3 REPLIES 3
CNENFRNL
Community Champion
Community Champion

Simple enough,

CNENFRNL_0-1676348249530.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

amitchandak
Super User
Super User

@amitchandak  Thanks for this. But, I used your measures as column and it is coming blank as output. I need this to be a column and not a measure as I am further using it for sorting purpose.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.