Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding wladston's configurable filters and backgrounds #24

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

pbenzoni
Copy link

@pbenzoni pbenzoni commented Dec 3, 2020

Do not approve until synced & reviewed

This adds a new configuration option to reports: filters. It passes data
in it as a JavaScript object inside the `filters` configuration option.

This lets users set filters automatically for their Power BI reports.
This allows one to setup custom filters via the powerbi shortcode. For
instance, to show a report with a filter applied, one could do:

```
[powerbi id='10' filter="{$schema:
'http://powerbi.com/product/schema#basic',
target: {table: 'Product', column: 'id'}, operator: 'In',
values: new Array('p1', 'p2', 'p3')}"]
```
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