The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
17 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |