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

Let users set filters for their Power BI reports. #8

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

Commits on Oct 25, 2018

  1. Add configurable optional filter.

    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.
    wladston committed Oct 25, 2018
    Configuration menu
    Copy the full SHA
    31f25ce View commit details
    Browse the repository at this point in the history
  2. Pass filters via shortcode.

    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')}"]
    ```
    wladston committed Oct 25, 2018
    Configuration menu
    Copy the full SHA
    c8e9461 View commit details
    Browse the repository at this point in the history