guto.bartinho
New Member
- Joined
- May 31, 2008
- Messages
- 14
Hello, since I am new to PowerBI and I have a table with 100k+ rows with different products and prices, I would appreciate any help getting the rolling min and max value column for price in PowerQuery.
Here's the example table: Rolling min and roll max (grey) is what I am looking for in Power Query, it will be based on product and time will be sorted ascending.
Example to copy paste
Here's the example table: Rolling min and roll max (grey) is what I am looking for in Power Query, it will be based on product and time will be sorted ascending.
Example to copy paste
Product | Time | Price |
Product1 | 10:02:00 | 14,66 |
Product1 | 10:03:00 | 14,67 |
Product1 | 10:04:00 | 14,64 |
Product1 | 10:05:00 | 14,63 |
Product1 | 10:06:00 | 14,65 |
Product1 | 10:07:00 | 14,67 |
Product1 | 10:08:00 | 14,65 |
Product1 | 10:09:00 | 14,65 |
Product1 | 10:10:00 | 14,61 |
Product1 | 10:11:00 | 14,58 |
Product1 | 10:12:00 | 14,58 |
Product1 | 10:13:00 | 14,60 |
Product1 | 10:14:00 | 14,60 |
Product1 | 10:15:00 | 14,60 |
Product1 | 10:16:00 | 14,63 |
Product1 | 10:17:00 | 14,63 |
Product 2 | 10:04:00 | 14,62 |
Product 2 | 10:05:00 | 14,62 |
Product 2 | 10:06:00 | 14,62 |
Product 2 | 10:07:00 | 14,65 |
Product 2 | 10:08:00 | 14,67 |
Product 2 | 10:09:00 | 14,67 |
Product 2 | 10:10:00 | 14,67 |
Product 2 | 10:11:00 | 14,66 |
Product 2 | 10:12:00 | 14,67 |
Product 2 | 10:13:00 | 14,66 |
Product 2 | 10:14:00 | 14,65 |
Product 2 | 10:15:00 | 14,66 |
Product 2 | 10:16:00 | 14,66 |
Product 2 | 10:17:00 | 14,71 |
Product 2 | 10:18:00 | 14,70 |
Product 2 | 10:19:00 | 14,68 |
Product 2 | 10:20:00 | 14,69 |
Product 2 | 10:21:00 | 14,70 |