The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I need to pull the latest "note" based on the "note_time" field.
Can someone share the best dax to use for this?
This can be either a measure or calcualted column in my fact_case table
Life Saver!
worked perfectly!!!
Hi @jakeryan56
Try this measure:
Latest Record =
VAR _Lastdate =
MAX ( fact_case[note_time] )
RETURN
CALCULATE (
MAX ( fact_case[note] ),
FILTER ( fact_case, fact_case[note_time] = _Lastdate )
)
output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos✌️!!
User | Count |
---|---|
12 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
24 | |
14 | |
13 | |
9 | |
7 |