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
Felix_Schulte
New Member

Select latest rows

A background job pushes daily updates into Power BI (push dataset) via REST API.

 

This looks similar to this:

 

ProductVersionIssuesDate
ProdA1.3102022/07/21
ProdB1.252022/07/21
ProdA1.492022/07/22
ProdB1.362022/07/22

 

I'd like to show in a report the current issue status (aside from historical data as well).

 

Option 1)

I.e. id like to filter the table (into an intermediate virtual table) so that it only shows the latest values.

In other words: Find the latest_date; Then throw out any rows, where the Date column does not match the latest_date.

E.g.:

ProductVersionIssuesDate
ProdA1.492022/07/22
ProdB1.362022/07/22

 

Option 2) If easier, I could always override a "current status table" each day. (I also do not know, how to accomplish that. Maybe do a secuence of CleanTable(); PushDataToTable();?)

 

How would I do this?

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

You could create a table like

Latest Data =
var maxDate = MAX('Table'[Date])
return FILTER( 'Table', 'Table'[Date] = maxDate )

View solution in original post

1 REPLY 1
johnt75
Super User
Super User

You could create a table like

Latest Data =
var maxDate = MAX('Table'[Date])
return FILTER( 'Table', 'Table'[Date] = maxDate )

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.