Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All,
I have a data model and I am facing one issue like we cannot convert a value to type Record to type Table.
Below are the attached images of power query.
Any help is highly appreciable.
Thanks,
Santosh
Hello,
I have connected to json file and source step is record.
Basically my end result is like whenever the empty results showing that should not throw an error.
Thanks,
Santosh.
Here is how you can check to see if the value is a table and if not, convert it to a table.
Table.TransformColumns(Source, {{"Column1", each if Value.Is(_, type table) then _ else #table({"ExpandTableColumnName"}, {{_}}) }})
Same but for a record...
Table.TransformColumns(Source, {{“Column1”, each if Value.Is(_, type record) then _ else [a=_] }} )
Hello - is it valid that your source step is a record and not a table? Do you need to debug that first or are you simply try to convert a record to a table?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
102 | |
48 | |
19 | |
13 | |
11 |