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
po
Post Prodigy
Post Prodigy

Dataflows - format object as time with format HH:MM

Hi,

 

New to dataflows and have changed column to be of type Time which means when use dataflow in a dataset shows as HH:MM:SS

 

How can we set the time format on a column in power query (dataflow) to be of format HH:MM so that anybody consuming this column in a dataset does not need to format n the datasest itself?

 

Also in datasets we can change the display of a table to have several sub-folders so we can group the columns in individual sub-folders.

 

Is it possible for a table in dataflows to have sub-folders and how can we best achieve this in power query/dataflows?

 

Thanks

2 REPLIES 2
jennratten
Super User
Super User

Hello - you can change the appearance of the time in the dataflow by tranforming like this (:

= Table.AddColumn(#"Previous Step", "HHmm", each DateTime.ToText([#"Date - Copy"], "HH:mm"), type time)

jennratten_1-1653662358800.png

 

'Grouping columns into subfolders' - I think you are referring to creating hierarchies.  This cannot be done in Power Query. The closest thing would be to have a dimension table that includes the hierarchies and then relate that table to the fact table.  You would still have to create the hierarchies in the data model though.

 

Hi,

 

Thanks for reply.

 

Do you need to create a separate time column?

 

e.g. if just wanted to have date_created itself formatted as HH:MM is this possible?

 

Not meaning hierarchies as such, just the display folder part which get when create dat amodel in power bi desktop.

 

Rtaher than have to do that each time user uses that dataflow, woudl rather have just liked to set in the dataflow itself.  screenshot below of what do in ower bi desktop for this.

 

scrseenshot_270522.png

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.