powerquery 相关问题

Microsoft Power Query for Excel增强了Excel的自助商业智能(BI),具有直观,一致的体验,可以发现,组合和优化各种来源的数据,包括关系,结构化和半结构化,OData,Web,Hadoop ,Azure Marketplace等。 Power Query还使您能够从Wikipedia等来源搜索公共数据。

Excel Power Query - 在表中填充空值

我是 Excel Power 查询 (M) 的新手,希望得到一些帮助。我有一个结构如下的表。我想填写一个名为“每日工资”的列,即=“3 个月工资...

回答 1 投票 0

自动更新另一个工作簿中的数据

请您帮忙! 我有两张工作表,一张是源,第二张是目的地。在源工作簿中,我有一个项目名称列表。项目名称列在 A 列中。

回答 1 投票 0

将参数/值从管道传递到 ADF 中的 Power Query 活动

我试图弄清楚是否可以将参数/任何值从我的 Azure 数据工厂管道传递到 Power Query 活动中。 最终目标是动态引用系统上的不同路径...

回答 1 投票 0

Power Query 问题:具有多个相同表格的 PDF 在合并到一个表格之前需要转置,我怎样才能有效地做到这一点?

大家好,在我开始之前,这是我想要完成的任务的浓缩版本。我的目标是将一系列 PDF 表格转换为单行,然后将它们全部组合在一起......

回答 1 投票 0

日期差异 - Power BI

根据下表,我想计算当前日期与该类别过去出现的上一个日期之间的差异(以天为单位)。 笔记 万一之前没有出现过...

回答 3 投票 0

强力查询:仅将一列转换为标题,并将另一列的值引入相应列

我可能无法很好地描述我的问题。我只想转换一列并将该列的值作为新的列标题。这些新列的单元格值将基于另一个

回答 1 投票 0

Power BI 根据其他表中的“最佳可用”数据创建表

我想设置一个报告,使用我们拥有的“最佳可用”数据向最终用户呈现数据。我计划维护 3 个数据库,每个数据库的结构都相同。那里

回答 1 投票 0

日期不同 - Power BI

根据下表,我想计算当前日期与该类别过去出现的上一个日期之间的差异(以天为单位)。 笔记 万一之前没有出现过...

回答 1 投票 0

SQL Server 到 PowerBI - 以加密格式上传数据

我正在尝试使用 SQL Server 数据库中的加密列作为 PowerBI 数据集的输出。 我设置了“始终加密”来加密 SQL Server 数据库中的数据。我想加载

回答 1 投票 0

Power BI 中的模糊分组是否已停止?寻求替代品

我正在处理包含超过 200,000 行数据的数据集,并注意到 Power BI 缺少“模糊分组”功能。我不确定此功能是否已停止。我的查...

回答 1 投票 0

基于长度的自定义列

我正在尝试根据文本列的长度添加自定义列,即第 1 列(包含文本和 ID 号)。但下面的代码给出了错误。有没有办法来解决这个问题 ? #”

回答 1 投票 0

Powerquery,将列表转换为按行值

我有以下代码,具有以下JSON结构:(元素是列表) 让 Source = Json.Document("[{""var"":[""var1"", ""...

回答 1 投票 0

如何在power query中创建自定义列?如果不包含数字

我正在尝试在电源查询中添加自定义列。如果 (A) 列有 6 位数字,我想包含 B 列中的值,否则应包含 C 列中的值。 在

回答 1 投票 0

使用正确的行对齐方式替换多个文件中的文本使用-powershell.ps1

输出没有得到相同的行对齐替换..但它没有得到相同的对齐(它应该替换3行。但它会进行之字形替换..看起来很难看,有什么帮助吗 输出没有得到相同的行对齐替换..但它没有得到相同的对齐(它应该替换3行。但它会进行之字形替换..看起来很难看,有什么帮助吗 发票 世界 你好 `$configFiles = Get-ChildItem . *.csconfigini -rec foreach ($file in $configFiles) { try { Write-Host "Processing $($file.FullName)" $content = Get-Content $file.PSPath -Raw -ErrorAction Stop if ($content -match "(<BatchReleaseType>datacenter</BatchReleaseType>)") { Write-Host "Match found in $($file.FullName)" $leadingWhitespace = $matches[1] -replace '<String>Invoice</battery>.*', '' $replacement = @" ${leadingWhitespace}<Hello world=""`'$($Apple)'=='Hero'"">Invoice</battery> ${leadingWhitespace} <Sunday>World</Sunday> ${leadingWhitespace} <battery>Hello</battery> "@ $content = $content -replace "<String>Invoice</battery>", $replacement $content | Set-Content $file.PSPath -ErrorAction Stop Write-Host "Replacement done for $($file.FullName)" } else { Write-Host "No match found in $($file.FullName)" } } catch [System.UnauthorizedAccessException] { Write-Host "Skipping file $($file.PSPath) due to permission issue." } catch { Write-Host "Error occurred while processing $($file.PSPath): $_" } } ` 我尝试使用下面的Azure Functions Powershell http trigger代码和替换已成功完成,请参阅下面:- using namespace System.Net # Input bindings are passed in via param block. param($Request, $TriggerMetadata) # Write to the Azure Functions log stream. Write-Host "PowerShell HTTP trigger function processed a request." # Define the PowerShell script $script = @' $configFiles = Get-ChildItem . *.csconfigini -rec foreach ($file in $configFiles) { try { Write-Host "Processing $($file.FullName)" $content = Get-Content $file.PSPath -Raw -ErrorAction Stop if ($content -match "(<BatchReleaseType>datacenter</BatchReleaseType>)") { Write-Host "Match found in $($file.FullName)" $leadingWhitespace = $matches[1] -replace '<String>Invoice</battery>.*', '' $replacement = @" ${leadingWhitespace}<Hello world=""`'$($Apple)'=='Hero'"">Invoice</battery> ${leadingWhitespace} <Sunday>World</Sunday> ${leadingWhitespace} <battery>Hello</battery> "@ $pattern = "<String>Invoice</battery>" $content = $content -replace $pattern, $replacement $content | Set-Content $file.PSPath -ErrorAction Stop Write-Host "Replacement done for $($file.FullName)" } else { Write-Host "No match found in $($file.FullName)" } } catch [System.UnauthorizedAccessException] { Write-Host "Skipping file $($file.PSPath) due to permission issue." } catch { Write-Host "Error occurred while processing $($file.PSPath): $_" } } '@ # Execute the PowerShell script Invoke-Expression $script # Interact with query parameters or the body of the request. $name = $Request.Query.Name if (-not $name) { $name = $Request.Body.Name } $body = "This HTTP triggered function executed successfully. Pass a name in the query string or in the request body for a personalized response." if ($name) { $body = "Hello, $name. This HTTP triggered function executed successfully." } # Associate values to output bindings by calling 'Push-OutputBinding'. Push-OutputBinding -Name Response -Value ([HttpResponseContext]@{ StatusCode = [HttpStatusCode]::OK Body = $body }) 输出:- 替换内容:- <BatchReleaseType>datacenter</BatchReleaseType> <BatchReleaseType>datacenter</BatchReleaseType><Hello world=""''=='Hero'"">Invoice</battery> <BatchReleaseType>datacenter</BatchReleaseType> <Sunday>World</Sunday> <BatchReleaseType>datacenter</BatchReleaseType> <battery>Hello</battery> <AnotherTag>SomeValue</AnotherTag>

回答 1 投票 0

power bi 中的单行多行

有人可以帮助我如何在 power bi 中实现表格视觉的以下场景吗? 用户 报告1 报告2 报告3 大卫 X 大卫 y 大卫 Z 注:报告1、报告2、报告3是计算出来的

回答 1 投票 0

使用 Excel 中的值过滤 Power Query

我正在使用强力查询来过滤数据库,我想根据Excel中的单元格值进行过滤。当单元格中没有值时,我不想应用过滤器。 我想要的专栏名称...

回答 1 投票 0

使用字段标题“x<23" in a function

我有一个字段[x<23]. I would like to use that field name in a function (e.g. Text.Split([x<23]," "). I have tried entering each character of the field name as a unicode decimal us...

回答 1 投票 0

在 Excel 中格式化所用的时间(以分钟为单位)

我目前有一些格式为 dd:hh:mm:ss 的经过时间数据,Excel 正在将其读取为文本,我希望它将这些值转换为显示经过的分钟数,例如,如果我. ..

回答 1 投票 0

如何在 Power Query 中按名称和总时间分组

上下文:我从打卡/下班系统中提取了原始数据,该数据向我显示了人们进出办公室的时间。我需要转换数据,以便计算一些统计数据和图表。 在...

回答 1 投票 0

如何参数化数据集,以便我可以使用 blob 文件夹中的多个 excel 文件逐个传递到 PowerQuery?

我在数据工厂中,需要帮助来参数化数据集,以便我可以使用 blob 文件夹中的多个文件在 PowerQuery 中进行处理,然后发送到 AzureSQL 表进行接收(存储)。我不...

回答 1 投票 0

© www.soinside.com 2019 - 2024. All rights reserved.