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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
John1
Frequent Visitor

Dateflow and Duration type

I get a Something Wrong error message trying to create a dataflow with a duration data type. The M Query works in Desktop, but not in dataflow. There are workarounds, but is this a bug?

 

let
Source = Table.FromRows({{#duration(0,1,0,0)}},{"Duration"}),
#"Changed Type1" = Table.TransformColumnTypes(Source,{{"Duration", type duration}})
in
#"Changed Type1"

 

Something went wrong

An error occurred while processing recent changes made to one or more of your entities. Please check your queries and try again.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @John1 ,

 

I think this should related to your data type, current power bi service side only support text, numeric, bool, date, time format, time duration seems not work.

Maybe you can consider to split it to multiple columns with numeric format.

 

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @John1 ,

 

I think this should related to your data type, current power bi service side only support text, numeric, bool, date, time format, time duration seems not work.

Maybe you can consider to split it to multiple columns with numeric format.

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.