Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
In my json input file I have a very large column (data_found in my request) and it is very long to load data in PowerBI.
I just want an extract of this large columns (the first 100 characters for example).
In the advanced editor, is it possible to add M language instructions to do that ?
Thanks
Dominique
let
Source = Json.Document(File.Contents("C:\carto\results.json")),
phone = Source[phone_number],
columns = phone[columns],
#"Converted to Table" = Table.FromList(columns, Splitter.SplitByNothing(), 1, null, ExtraValues.Error),
#"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", {"location", "numbers_of_rows_analyzed", "percentage_of_personnal_data", "data_found"}, {"location", "numbers_of_rows_analyzed", "percentage_of_personnal_data", "data_found"}),
#"Changed Type" = Table.TransformColumnTypes(#"Expanded Column1",{{"data_found", type text}})
in
#"Changed Type"
Solved! Go to Solution.
No need for the Advanced Editor.
Select your column - on the "Transform" tab: Extract - First Characters - 100 - OK.
Hi @Dom33,
Have you tried the solution provided by @MarcelBeug above? Does it work in your scenario? If it works, could you accept it as solution to close this thread?
If you still have any question on this issue, feel free to post here. ![]()
Regards
No need for the Advanced Editor.
Select your column - on the "Transform" tab: Extract - First Characters - 100 - OK.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 44 | |
| 43 | |
| 38 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 67 | |
| 63 | |
| 30 | |
| 30 | |
| 23 |