Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Good afternoon all,
So I need help configuring a table referencing my API… I cannot get a list of elements to populate! I am receiving the following error:
"Expression.Error: We cannot convert a value of type Record to type Text.
Details:
Value=
379662=379662
396454=396454
396455=396455" ... etc etc
I believe I need to insert a List function (perhaps List.Distinct?), but I am not sure where to plug that into. I'm thinking perhaps part of Table.Transform. Anyhow, the API looks like this:
The function I am using looks like:
And the table:
Any help would be greatly appreciated!
Hi @jcawley
I found some blogs and I hope they could help you solve your problem.
Blog1: Expression.Error: We cannot convert a value of type Table to type List
Blog2: Expression.Error: We cannot convert a value of type Record to type Text - source is List of records
Blog3: Expression.Error: We cannot convert a value of type Record to type Text.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
What happens if you hard code that product # (that looks like a date?) into the url and run that M code as a query instead of a function, so you can see which step causes the error? I am curious why you are using Record.ToTable, and suspect that is it. Typically with REST API JSON responses such a step (and the transpose step) is not needed.
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.