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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
lzorn
Frequent Visitor

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

1 ACCEPTED SOLUTION
Anonymous
Not 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.

DAX Last Date - Other field

 

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

 

Share some data and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not 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.

DAX Last Date - Other field

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.