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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Display only most recent data in table from push dataset

Hello,

I have a simple dataset as follow:
[String] ProductName
[Integer] Stock
[DateTime] Updated

 

The stocks are pushed at regular intervals for ALL the products.

I'd like to display only the last readings per product name, tried to use Top N without any success, Power BI seems to consider the 3 columns as identifer, so if I have 2 set of row posted as follow:
[ {ProductName: 'Table', Stock: 3, Updated: Date.now() } ]

 

and 5 minutes later the stock changed: 
[ {ProductName: 'Table', Stock: 1, Updated: Date.now() } ]

The report's table, even if I filter ProductName with Top 1 latest Updated, contains 2 rows for the record Table, one with Stock to 3 and one with Stock to 1. It seems Power BI Table considers the 2 columns as the index and thus the 2 records are passing the Top 1 filter anyway... 

Am I missing something here ?
Any help is apreciated.

5 REPLIES 5
v-evelk
Microsoft Employee
Microsoft Employee

Hello,

 

Could you provide some screens to better understand your issue?

 

Kind Regards,

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

Anonymous
Not applicable

thanks for your reply.
here is the result I get:
click to view image

As you can see the 2 first rows are the same product, the stock was updated at different time, yet I see one row per unique {Product Name, Stock}.

Hi,

 

Try the following

 

TableLatestRecords.PNG

 

Kind Regards,

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

Anonymous
Not applicable

Hello, thanks again for your help !

When I apply this filter I don't see any data in the table anymore !
It becomes empty.

Regards

Hello,

 

Could you please your data or part of it to pbicvsupport@microsoft.com?

May be I lost something so, I can anayze them and will try to provide a solution.

 

Kind Regards,

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.