Skip to content

Filters for KPI#86

Merged
eduard93 merged 2 commits intointersystems-community:masterfrom
teccod:master
Feb 1, 2023
Merged

Filters for KPI#86
eduard93 merged 2 commits intointersystems-community:masterfrom
teccod:master

Conversation

@jakcpto
Copy link
Copy Markdown

@jakcpto jakcpto commented Feb 1, 2023

With this commit /KPI can receive Filters parameter and apply it to KPI dataset.

Worked on modified in localhost copy of https://pie-chart-bug.demo.community.intersystems.com/dsw/index.html#/IRISAPP/KPIs%20&%20Plugins/Demo%20Filter%20Interoperability.dashboard and next KPIs.

Payload looks like:
{ "KPI":"DemoInteroperability.kpi",
"FILTERS":[
{"name":"[ColorD].[H1].[Favorite Color]", "value":"Green"},
{"name":"[DocD].[H1].[Doctor Group]", "value":"I"}
]
}

We need to use DynamicObject to use %Size() call in system libs while working with filters from request.
Updated a number of version
@eduard93 eduard93 merged commit 92418f8 into intersystems-community:master Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants