我正试图找到一种方法来根据其(Semana)列的MAX值进行过滤,每周将新数据添加到我的表中,而我只需要可视化上周的数据即可。
我尝试了Table.Max和List.Max,但我无法解决问题
<VirtualHost *:80>
ServerAdmin webmaster@example.ca
DocumentRoot "C:/SERVr/htdocs/__WWW__/example.ca"
ServerName example.ca
ErrorLog "logs/example.ca-error.log"
CustomLog "logs/example.ca-access.log" common
<Directory "C:/SERVr/htdocs/__WWW__/example.ca/">
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@example.com
DocumentRoot "C:/SERVr/htdocs/__WWW__/example.com"
ServerName example.com
ErrorLog "logs/example.com-error.log"
CustomLog "logs/example.com-access.log" common
<Directory "C:/SERVr/htdocs/__WWW__/example.com/">
</Directory>
</VirtualHost>
我需要代码自动从[Semana]列中更新最大值。
答案 0 :(得分:0)
赞:
let
Origen = Folder.Files("D:\DOCUMENTS\Cartera"),
#"Personalizada agregada4" = Table.AddColumn(#"Tipo cambiado2", "MetaMora", each if [Días Atraso] <= 14 then 0 else [#"MORA CAP + INTS"]),
max = List.Max(#"Personalizada agregada4"[Semana]),
#"Filas filtradas1" = Table.SelectRows(#"Personalizada agregada4", each [Semana] = max)
in
#"Filas filtradas1"