excel - PowerQuery Excel 与 PowerBI
问题描述
您好 PowerQuery 专家,
我正在尝试将 PowerQuery 公式从 Power BI PowerQuery 迁移到 Excel PowerQuery,我期待两个 PowerQuery 实现是相同的,但不幸的是,事实并非如此,或者我遇到了一些本地化问题(法语与英语)请找到我在 Excel 中收到的部分错误查询和错误消息。
= Table.Pivot(#"Expanded ""tags"" from Records",
List.Distinct(#"Expanded ""tags"" from Records"[name]), "name", "value")
Expression.Error: Sorry ... We were unable to apply the < operator to the List and List types.
Details :
Operator=<
Left=[List]
Right=[List]
这里的完整代码不包括指向错误行的 API 密钥: https ://gist.github.com/EricLacroix/e6313e893f3f107f22eccfb79cddadb7#file-gistfile1-txt-L81
解决方案
最后,
在询问了一位同事之后,我们在执行枢轴操作之前删除了所有剩余的具有某种完整类型的列存储在列中(例如:记录、数组),然后就解决了这个问题。
推荐阅读
- sql - 计算 PostgreSQL 中组的指标变化百分比
- java - javax.net.ssl.SSLHandshakeException:服务器证书签名算法 RSASSA-PSS
- reactjs - React fetch POST 请求仅在 Safari 中不起作用
- c# - 在 WPF MVVM 中单击按钮时如何折叠数据绑定 ListBoxItem 的内容
- javascript - 反应 onBlur 检测
- python - 如何在 Selenium 中使用特定配置文件
- html - 如何制作以公司标志为中心的导航栏
- python - 是否可以在一个情节中结合 Matplotlib 或 seaborn 中的 2 种不同风格?
- python - 无法显示散景图。我能怎么做?
- python - 在python中多处理不同的功能