Forum Discussion
Lookup update by last know date
Hi,
I have a ''Current'' table, in which updates are logged. This table contains every new update that comes in (System, date update, update status). And a second table in which i want to show the latest update for a system (System, last update status).
I want to filter on date so that the last known update is shown. Can somebody help me with the right code for Power BI?
Kind Regards,
Léjon
- Anonymous8 years ago
Hi lzorn,
Maybe you can try to use summarize function to create new table with last updated data.
Sample table formula:
last status = SUMMARIZE ( Table, [System], "last date", LASTDATE ( Table[date update] ), "Last status", LASTNONBLANK ( Table[update status], [update status] ) )In addition, you can also take a look at following link about create a measure to lookup value.
Regards,
Xiaoxin Sheng
2 Replies
- AnonymousNot applicable
Hi lzorn,
Maybe you can try to use summarize function to create new table with last updated data.
Sample table formula:
last status = SUMMARIZE ( Table, [System], "last date", LASTDATE ( Table[date update] ), "Last status", LASTNONBLANK ( Table[update status], [update status] ) )In addition, you can also take a look at following link about create a measure to lookup value.
Regards,
Xiaoxin Sheng
- Ashish_MathurSuper User
Hi,
Share some data and show the expected result.