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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Morkil
Helper I
Helper I

Need advice on best way to split text columns

I'm working on a dataset that contains information over datasets on Power BI cloud. This data is pulled via REST API.

 

There's a column that displays dataset refresh schedule data that contains lots of textual data.

 

e.g., 

Morkil_1-1701911628977.png

 

I want to split this column out to "Refresh day" and "Refresh time" so I can get a clear picture of when datasets are being refreshed.

2 REPLIES 2
Anonymous
Not applicable

Hi @Morkil ,

The returned result is a bit like JSON format, please try to Parse first and then expand the required columns.

vcgaomsft_0-1702469375986.png

Advanced editor.

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45Wqo5RKsnMTY1RsoqOUTKwsDIwiFHSiVEyNAWzYoHMlMRKiGxwaR6YDRTzzYczQ0pTi2Hs8NSUPAQvJKO0CM5xK8qEMYMTS0qLwByQ8fklGalF2alQO8C8ssSc0lRDsFoE3wjIj61Vio0FAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Value = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Value", type text}}),
    #"Parsed JSON" = Table.TransformColumns(#"Changed Type",{},Json.Document),
    #"Expanded Value" = Table.ExpandRecordColumn(#"Parsed JSON", "Value", {"time", "day"}, {"time", "day"}),
    #"Expanded time" = Table.ExpandListColumn(#"Expanded Value", "time"),
    #"Expanded day" = Table.ExpandListColumn(#"Expanded time", "day")
in
    #"Expanded day"

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

Ahmedx
Super User
Super User

what result do you expect покажите!
and please copy the line and paste it here
I can't copy it from the picture

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors