在电源查询中列出日期和自定义表
我正在尝试在电源查询中添加自定义列的目标,以从日期列表中返回表。
所使用的语法如下:
= Table.AddColumn(TypeDate, "AddTable", each Table.FromList(
List.Dates([Date_begin],1,#duration(1,0,0,0)
)))
其中:
- typedate是power查询“ addtable”的最后一步的名称
- ,是添加的自定义列的名称
- 是我列表的开始
[date_begin]是一列,该列是一个日期,尽管语法 似乎是正确的,电源查询返回一个错误所描述的错误:
Expression.Error: We could not convert the value #date(2021, 1, 1) on to Text.
Details:
Value=01/01/2021
Type=[Type]
有人知道如何解决这个问题吗? 我将显示一个图像,其中电源查询显示错误。
I'm trying to Add Custom Column in Power Query with the objective to return a Table from a List of dates.
The syntax used is as follows below:
= Table.AddColumn(TypeDate, "AddTable", each Table.FromList(
List.Dates([Date_begin],1,#duration(1,0,0,0)
)))
where:
- TypeDate is the name of last step in Power Query
- "AddTable" is the name of added custom column
- [Date_begin] is a column with dates to be considered as the start of my list
Although the syntax seems correct, Power Query returns an error described as follows:
Expression.Error: We could not convert the value #date(2021, 1, 1) on to Text.
Details:
Value=01/01/2021
Type=[Type]
Does anyone know how to handle this problem?
I'll show an image where Power Query shows the error.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的问题尚不清楚
您想使用date_begin和mes_final添加一个具有每行日期表的列?
Your question is unclear
You want to add a column that has a table of dates for each row, using Date_Begin and Mes_Final?