Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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.
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
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
Kind Regards,
Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com
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
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
8 | |
7 | |
2 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |