从基础数据集中检索列名称(在 Power BI 中重命名之前)
我正在尝试为我的 Power BI 数据集构建动态数据字典。为此,我在 DAX studio 中查询 DMV,以直接从模型获取对象名称和描述。
用于列详细信息的查询:
SELECT * from $SYSTEM.TMSCHEMA_COLUMNS
但是,当我运行此查询时,我得到 ExplicitName = SourceColumn。我假设在 PowerQuery 中进行任何转换之前,SoruceColumn 将包含列名称。有谁知道如何获取原始列名称(每个示例的 SQL Server 数据库中的列名称)?
I'm trying to build a dynamic data dictionary for my Power BI data set. To do that, I am querying the DMVs in DAX studio to get the objects names and descriptions from the model directly.
Used query for the columns details:
SELECT * from $SYSTEM.TMSCHEMA_COLUMNS
However, when I run this query, I'm getting ExplicitName = SourceColumn. I had assumed that the SoruceColumn would contain the column name before any transformation in PowerQuery. Does anyone have any idea on how to get the original column name (the name of the column in the SQL Server DB per example)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经找到了解决方案。您可以在以下位置找到技术专栏名称:
如果有人对构建此类动态数据字典感兴趣,请告诉我。完成后我可以分享最终结果。
I have found a solution for this. You can find the technical column names in:
If building this type of dynamic data dictionary interests anyone, do let me know. I can share the end result when I'm done.