Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hello comunity,
I have a calculated table which have details by minute (date + hour + minute) of a machine which is producing or stopped due to X cause.
Now I need to show the data groupped by periods of time depending on the Machine/Status/Interruption cause.
I tried to create a matrix and set two columns with the DateTime, one as Earliest and other with Latest but I does not get the result expected since in the above example, I get the minimun and maximun Time for the Working status but without keeping the sequence.
I expect to get the following result
I think that making an index it could make the group as expected but since it is a calculated table I cannot use PowerQuery and have to rely in DAX where I dont know how to proceed.
Any ideas?
Thanks!
Any clue on this?
Easy enough, simply group the dataset in PQ.
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
It is not possible to use PQ since it is a calculated table generated with DAX.
On the other hand, even grouping with SUMMARIZE, I do not get the expected result since it does not take into account the sequence getting This:
instead of this
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 51 | |
| 39 | |
| 29 | |
| 24 |