March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Good day everyone.
I need to make transformed table using data from next table:
IDLE_ID | START_DT | START_TIME | END_DT | END_TIME | IDLE_TYPE |
122851 | 09.09.2019 | 05:57:00 | 01.10.2019 | 09:00:00 | Planned |
123111 | 01.10.2019 | 09:30:00 | 02.10.2019 | 17:00:00 | Planned |
I need to make visualization like this (abridged example):
IDLE_ID | START_DT | START_TIME | END_DT | END_TIME | IDLE_TYPE |
122851 | 09.09.2019 | 05:57:00 | 09.09.2019 | 24:00:00 | Planned |
122851 | 10.09.2019 | 00:00:00 | 10.09.2019 | 24:00:00 | Planned |
122851 | 11.09.2019 | 00:00:00 | 11.09.2019 | 24:00:00 | Planned |
122851 | 12.09.2019 | 00:00:00 | 12.09.2019 | 24:00:00 | Planned |
122851 | 13.09.2019 | 00:00:00 | 13.09.2019 | 24:00:00 | Planned |
122851 | 14.09.2019 | 00:00:00 | 14.09.2019 | 24:00:00 | Planned |
122851 | 15.09.2019 | 00:00:00 | 15.09.2019 | 24:00:00 | Planned |
122851 | 25.09.2019 | 00:00:00 | 25.09.2019 | 24:00:00 | Planned |
122851 | 26.09.2019 | 00:00:00 | 26.09.2019 | 24:00:00 | Planned |
122851 | 27.09.2019 | 00:00:00 | 27.09.2019 | 24:00:00 | Planned |
122851 | 28.09.2019 | 00:00:00 | 28.09.2019 | 24:00:00 | Planned |
122851 | 29.09.2019 | 00:00:00 | 29.09.2019 | 24:00:00 | Planned |
122851 | 30.09.2019 | 00:00:00 | 30.09.2019 | 24:00:00 | Planned |
122851 | 01.10.2019 | 00:00:00 | 01.10.2019 | 09:00:00 | Planned |
123111 | 01.10.2019 | 09:30:00 | 01.10.2019 | 24:00:00 | Planned |
123111 | 02.10.2019 | 00:00:00 | 02.10.2019 | 17:00:00 | Planned |
I know, it looks really strange, but i need this visualization for easy count of idle for each day. Also first table was formed in DirectQuery, and i need not to change initial table.
Any suggestions come useful.
Best regards
Alexandr
@Anonymous , Not very clear. But refer if my blog can help
#POWERBI: How to divide/distribute values between start date or end date or count days across months/days: https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-or-end-date/ba-p/1503785
This is link to .pbix example of data from my existing table
As you can see in .pbix file, i understood how to use your method, but main problem is that i can't use measure day for count of idle time.
Please check correctness of my actions in this file.
Best regards, Alexandr
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
25 | |
18 | |
15 | |
9 | |
8 |
User | Count |
---|---|
37 | |
32 | |
18 | |
16 | |
13 |