Good Morning
Any ideas on how to do this in a measure.... Create a Ranking based upon a date from Earliest to Latest, where SALES DATE is Grouped and Machine is grouped.
My Data looks something like this, but continues for upto 42 days and involves some 30 other fields in the table but these are the fields I need. It is a direct query so cannot add to the table set in power BI
So Data looks like this
I am looking to produce a result something like this with a Ranking... where salesates and machine are the same
Any ideas on how to do this in a measure.... Create a Ranking based upon a date from Earliest to Latest, where SALES DATE is Grouped and Machine is grouped.
My Data looks something like this, but continues for upto 42 days and involves some 30 other fields in the table but these are the fields I need. It is a direct query so cannot add to the table set in power BI
So Data looks like this
Salesdate | Machine Location | Time Start |
24/02/2023 | W7P1 | 23/02/2023 08:00 |
24/02/2023 | W7P2 | 23/02/2023 06:00 |
24/02/2023 | W7P1 | 23/02/2023 12:45 |
24/02/2023 | W7P1 | 23/02/2023 19:00 |
24/02/2023 | W7P1 | 23/02/2023 21:45 |
24/02/2023 | W7P2 | 23/02/2023 10:45 |
24/02/2023 | W7P1 | 23/02/2023 22:00 |
24/02/2023 | W13P1 | 23/02/2023 09:52 |
24/02/2023 | W13P1 | 23/02/2023 11:47 |
24/02/2023 | W13P1 | 23/02/2023 12:56 |
24/02/2023 | W13P2 | 23/02/2023 08:00 |
24/02/2023 | W13P1 | 23/02/2023 14:57 |
24/02/2023 | W13P2 | 23/02/2023 16:23 |
24/02/2023 | W13P2 | 23/02/2023 08:00 |
24/02/2023 | W13P1 | 23/02/2023 18:00 |
24/02/2023 | W13P2 | 23/02/2023 19:32 |
I am looking to produce a result something like this with a Ranking... where salesates and machine are the same
Salesdate | Machine Location | Time Start | Ranking |
24/02/2023 | W13P1 | 23/02/2023 09:52 | 1 |
24/02/2023 | W13P1 | 23/02/2023 11:47 | 2 |
24/02/2023 | W13P1 | 23/02/2023 12:56 | 3 |
24/02/2023 | W13P1 | 23/02/2023 14:57 | 4 |
24/02/2023 | W13P1 | 23/02/2023 18:00 | 5 |
24/02/2023 | W13P2 | 23/02/2023 08:00 | 1 |
24/02/2023 | W13P2 | 23/02/2023 08:00 | 2 |
24/02/2023 | W13P2 | 23/02/2023 16:23 | 3 |
24/02/2023 | W13P2 | 23/02/2023 19:32 | 4 |
24/02/2023 | W7P1 | 23/02/2023 08:00 | 1 |
24/02/2023 | W7P1 | 23/02/2023 12:45 | 2 |
24/02/2023 | W7P1 | 23/02/2023 19:00 | 3 |
24/02/2023 | W7P1 | 23/02/2023 21:45 | 4 |
24/02/2023 | W7P1 | 23/02/2023 22:00 | 5 |
24/02/2023 | W7P2 | 23/02/2023 06:00 | 1 |
24/02/2023 | W7P2 | 23/02/2023 10:45 | 2 |