Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
216 | |
89 | |
82 | |
66 | |
57 |