Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.1.0/schema.json",
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.5.0/schema.json",
"name": "d6084660d102c3617329",
"position": {
"x": 10.571791613722999,
Expand Down Expand Up @@ -169,20 +169,7 @@
"isPinned": true
}
],
"root": {
"children": [
{
"identityValues": [
{
"Literal": {
"Value": "'Host Family'"
}
}
],
"isToggled": true
}
]
}
"root": {}
}
],
"objects": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -411,5 +411,12 @@
}
}
]
}
},
"visualInteractions": [
{
"source": "0e0f5f07a55029a7559c",
"target": "6981b709222874e107d0",
"type": "DataFilter"
}
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.1.0/schema.json",
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/2.5.0/schema.json",
"name": "4e529ad821c493623ca9",
"position": {
"x": 740.27303754266211,
Expand Down Expand Up @@ -537,5 +537,23 @@
]
},
"drillFilterOtherVisuals": true
},
"filterConfig": {
"filters": [
{
"name": "26b22ec8554ced21c1c1",
"field": {
"Column": {
"Expression": {
"SourceRef": {
"Entity": "Community"
}
},
"Property": "Community Name"
}
},
"type": "Categorical"
}
]
}
}
2 changes: 1 addition & 1 deletion CareTogether.Report/definition/pages/pages.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"ReportSectiondde1dd56e86a6be0bd57",
"e3e436ecd75be754ee24"
],
"activePageName": "d08ff20b71001be16c90"
"activePageName": "03622d788c359b5e7432"
}
2 changes: 1 addition & 1 deletion CareTogether.Report/definition/report.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/report/3.0.0/schema.json",
"$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/report/3.1.0/schema.json",
"themeCollection": {
"baseTheme": {
"name": "CY24SU10",
Expand Down
2 changes: 1 addition & 1 deletion CareTogether.SemanticModel/definition/database.tmdl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
database
compatibilityLevel: 1567
compatibilityLevel: 1600

1 change: 1 addition & 0 deletions CareTogether.SemanticModel/definition/relationships.tmdl
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ relationship e349dd17-a18d-2497-62cf-d76e3ba8ac2c
toColumn: Location.'RLS Key'

relationship AutoDetected_59e6e179-6344-42a1-944c-b69cf722c579
crossFilteringBehavior: bothDirections
fromColumn: 'Community Member Families'.'Community UID'
toColumn: Community.'Community UID'

Expand Down
6 changes: 6 additions & 0 deletions CareTogether.SemanticModel/definition/roles/Dynamic.tmdl
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,11 @@ role Dynamic
RLS[UserId] = USERNAME()
)

tablePermission Role =
Role[OrganizationId] IN CALCULATETABLE(
VALUES(RLS[OrganizationId]),
RLS[UserId] = USERNAME()
)

annotation PBI_Id = 48755128b26e4366a08bd6a38df559b4

18 changes: 17 additions & 1 deletion CareTogether.SemanticModel/definition/tables/RLS.tmdl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,22 @@ table RLS

annotation SummarizationSetBy = Automatic

column OrganizationId
dataType: string
lineageTag: ce37c732-0cd2-4f6e-ace2-a79efb11331c
summarizeBy: none
sourceColumn: OrganizationId

annotation SummarizationSetBy = Automatic

column LocationId
dataType: string
lineageTag: 05d2f26a-f10b-4193-a2ff-27616724c840
summarizeBy: none
sourceColumn: LocationId

annotation SummarizationSetBy = Automatic

partition RLS = m
mode: import
queryGroup: RLS
Expand All @@ -29,7 +45,7 @@ table RLS
Source{[Name="LocationUserAccess", Signature="table"]}[Data],
"RLS Key", each Text.Combine({[OrganizationId], [LocationId]}, "-")
),
{"RLS Key", "UserId"}
{"RLS Key", "OrganizationId", "LocationId", "UserId"}
)

in
Expand Down
10 changes: 9 additions & 1 deletion CareTogether.SemanticModel/definition/tables/Role.tmdl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ table Role

annotation SummarizationSetBy = Automatic

column OrganizationId
dataType: string
lineageTag: e8c282e0-484a-4b73-98fc-7bb1acf9e7e4
summarizeBy: none
sourceColumn: OrganizationId

annotation SummarizationSetBy = Automatic

partition Role = m
mode: import
queryGroup: Dimensions
Expand All @@ -34,7 +42,7 @@ table Role
),
"Role UID", each Text.Combine({[OrganizationId], [Role Name]}, "-")
),
{"Role UID", "Role Name"}
{"OrganizationId", "Role UID", "Role Name"}
)

in
Expand Down
Loading
Loading