使用powerbi中的dax或powerquery从表中的特定行返回值
我有一个简单的桌子,有两列和无数行,然后将其拉到PowerBi桌面上。我想创建两个措施,第一个从表的第1列1中检索值的措施,第二列是从第2列第2行检索值的第二个措施。我可以使用什么DAX表达式或在PowerQuery中可以做的事情?谢谢你!
表的示例:
Column1 | Column2
----------------------
Date Country
Price Close Time
Manager Customer
措施1需要返回:[日期]措施2需要返回:[关闭时间]
I have a simple table that has two columns and numerous rows that I pulled into PowerBi desktop. I want to create two measures, the first to retrieve the value from row 1 column 1 of the table and the second to retrieve the value from row 2 of column 2. What DAX expression can I use OR is there something I can do in PowerQuery? Thank you!
Example of table:
Column1 | Column2
----------------------
Date Country
Price Close Time
Manager Customer
Measure 1 needs to return: [Date] Measure 2 needs to return: [Close Time]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不确定您要去哪里,但是如果您的列是示例中的命名,则(在电源查询M代码中):
则返回带有这些值的2个元素列表
如果您不知道列名, ,则您可以使用以下内容:
以上两个=>

Not sure where you are going with this, but if your Columns are named as they are in your example, then (in Power Query M code):
returns a 2 element list with those values
If you don't know the column names, then you can use something like:
Both of the above =>
