Skip to content

Commit

Permalink
fix: Number of impacted resources in slide 16 (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
tksh164 authored Aug 2, 2024
1 parent 5826e25 commit 3398b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/3_wara_reports_generator.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ $Global:Runtime = Measure-Command -Expression {
($Slide16.Shapes | Where-Object { $_.Id -eq 44 }).GroupItems[6].TextFrame.TextRange.Text = [string]($ExcelCore | Where-Object { $_."Number of Impacted Resources?" -gt 0 -and $_.Impact -eq 'Low' }).count
if ($Heavy) {Start-Sleep -Milliseconds 100}
#Impacted Resources
($Slide16.Shapes | Where-Object { $_.Id -eq 44 }).GroupItems[7].TextFrame.TextRange.Text = [string]($ExcelContent.id | Where-Object { ![string]::IsNullOrEmpty($_) } | Select-Object -Unique).count
($Slide16.Shapes | Where-Object { $_.Id -eq 44 }).GroupItems[7].TextFrame.TextRange.Text = [string]($ExcelContent.id | Where-Object { ![string]::IsNullOrEmpty($_) } | Select-Object -Unique -CaseInsensitive).count
if ($Heavy) {Start-Sleep -Milliseconds 100}
}
catch
Expand Down

0 comments on commit 3398b33

Please sign in to comment.