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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.