Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Transformed table with new rows

Good day everyone.
I need to make transformed table using data from next table: 

IDLE_IDSTART_DTSTART_TIMEEND_DTEND_TIMEIDLE_TYPE
12285109.09.201905:57:0001.10.201909:00:00Planned
12311101.10.201909:30:0002.10.201917:00:00Planned


I need to make visualization like this (abridged example):

IDLE_IDSTART_DTSTART_TIMEEND_DTEND_TIMEIDLE_TYPE
12285109.09.201905:57:0009.09.201924:00:00Planned
12285110.09.201900:00:0010.09.201924:00:00Planned
12285111.09.201900:00:0011.09.201924:00:00Planned
12285112.09.201900:00:0012.09.201924:00:00Planned
12285113.09.201900:00:0013.09.201924:00:00Planned
12285114.09.201900:00:0014.09.201924:00:00Planned
12285115.09.201900:00:0015.09.201924:00:00Planned
12285125.09.201900:00:0025.09.201924:00:00Planned
12285126.09.201900:00:0026.09.201924:00:00Planned
12285127.09.201900:00:0027.09.201924:00:00Planned
12285128.09.201900:00:0028.09.201924:00:00Planned
12285129.09.201900:00:0029.09.201924:00:00Planned
12285130.09.201900:00:0030.09.201924:00:00Planned
12285101.10.201900:00:0001.10.201909:00:00Planned
12311101.10.201909:30:0001.10.201924:00:00Planned
12311102.10.201900:00:0002.10.201917:00:00Planned


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

2 REPLIES 2
amitchandak
Super User
Super User

@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

Anonymous
Not applicable

 

 

 

This is link to .pbix example of data from my existing table

https://arcelormittal-my.sharepoint.com/:u:/g/personal/alexandrvpat_arcelormittal_com1/ETL8_ueG8zlMs... 

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors