Updated data model for Governance dashboard (#205)

Governance Dashboard v2.4 released
This commit is contained in:
Msanzdelrio 2021-11-08 17:54:11 +01:00 коммит произвёл GitHub
Родитель 603257aec0
Коммит 51a3f034c1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 7 добавлений и 4 удалений

2
.github/CODEOWNERS поставляемый
Просмотреть файл

@ -5,4 +5,4 @@
# @global-owner1 and @global-owner2 will be requested for
# review when someone opens a pull request.
* @cco-maintainers
* @cco-maintainers

1
.gitignore поставляемый
Просмотреть файл

@ -8,6 +8,7 @@
*.user
*.userosscache
*.sln.docstates
*.pbix
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

Двоичный файл не отображается.

Просмотреть файл

@ -473,11 +473,13 @@ let
#"Renamed Columns" = Table.RenameColumns(#"Expanded value1",{{"id.1", "Resource Id"}}),
#"Filtered Rows" = Table.SelectRows(#"Renamed Columns", each [name] <> null and [name] <> ""),
#"Renamed Columns1" = Table.RenameColumns(#"Filtered Rows",{{"name", "Resource Name"}, {"type", "Resource Type"}}),
#"Expanded properties" = Table.ExpandRecordColumn(#"Renamed Columns1", "properties", {"numberOfChildren", "numberOfChildGroups", "numberOfDescendants", "displayName", "parentDisplayNameChain", "inheritedPermissions", "permissions"}, {"numberOfChildren", "numberOfChildGroups", "numberOfDescendants", "displayName.1", "parentDisplayNameChain", "inheritedPermissions", "permissions"}),
#"Expanded properties" = Table.ExpandRecordColumn(#"Renamed Columns1", "properties", {"numberOfChildren", "numberOfChildGroups", "numberOfDescendants", "displayName", "parentDisplayNameChain", "parent", "parentNameChain", "inheritedPermissions", "permissions"}, {"numberOfChildren", "numberOfChildGroups", "numberOfDescendants", "displayName.1", "parentDisplayNameChain", "parent", "parentNameChain", "inheritedPermissions", "permissions"}),
#"Renamed Columns2" = Table.RenameColumns(#"Expanded properties",{{"displayName.1", "Resource Display Name"}}),
#"Extracted Values" = Table.TransformColumns(#"Renamed Columns2", {"parentDisplayNameChain", each Text.Combine(List.Transform(_, Text.From), "/"), type text}),
#"Added 'parentPath'" = Table.AddColumn(#"Extracted Values", "parentPath", each [parentDisplayNameChain], type text),
#"Added 'resourcePath'" = Table.AddColumn(#"Added 'parentPath'", "resourcePath", each if [parentDisplayNameChain] = "" then [Resource Display Name] else Text.Combine({[parentDisplayNameChain], [Resource Display Name]}, "/"), type text),
#"Extracted parentNameChain values" = Table.TransformColumns(#"Extracted Values", {"parentNameChain", each Text.Combine(List.Transform(_, Text.From), "/"), type text}),
#"Expanded parent" = Table.ExpandRecordColumn(#"Extracted parentNameChain values", "parent", {"id"}, {"parent.id"}),
#"Added 'parentPath'" = Table.AddColumn(#"Expanded parent", "parentPath", each [parentNameChain]),
#"Added 'resourcePath'" = Table.AddColumn(#"Added 'parentPath'", "resourcePath", each if [parentNameChain] = "" then [Resource Display Name] else Text.Combine({[parentNameChain], [Resource Display Name]}, "/")),
#"Split Column by Delimiter" = Table.SplitColumn(#"Added 'resourcePath'", "parentDisplayNameChain", Splitter.SplitTextByEachDelimiter({"/"}, QuoteStyle.Csv, true), {"parentDisplayNameChain.1", "parentDisplayNameChain.2"}),
#"Changed Type" = Table.TransformColumnTypes(#"Split Column by Delimiter",{{"parentDisplayNameChain.1", type text}, {"parentDisplayNameChain.2", type text}}),
#"Added Conditional Column" = Table.AddColumn(#"Changed Type", "TempParentDisplayName", each if [parentDisplayNameChain.1] = "" then "IsRoot" else [parentDisplayNameChain.2]),