Forum Discussion

KeithHWU's avatar
KeithHWU
Frequent Visitor
5 years ago
Solved

Measure to return latest value based per ID

I have a table with multiple actions (ActIDKey) per Prospect (CnActLink). As follows: I would like to create a measure that returns the text value (ActType) for the latest date (ActDate) per p...
  • KeithHWU's avatar
    5 years ago

    Thanks to both of you for your responses. For future viewers of this post - I was struggling with DAX for this issue as I did not have a distinct entry per day. I ended up solving this in Power Query instead by duplicating the table of actions and grouping by person ID and max date and deduping. I was able to use this new table of Last Action to create my visual whilst still linking it to my dimaension tables. Probably an inefficient solution but it worked.