зеркало из
1
0
Форкнуть 0
Demonstrates creating a powerbi slicer visual using various powerbi filtering APIs and features.
Перейти к файлу
Denis 62de33165c
Webpack migration and updates (#11)
* packages updated, code updated, incl. corejs and ts. No commented code

* no jquery. Debug state.

* [debug] API upd to 2.5, UI fixed

* factoring and basic filter

* filters debug

* transitional

* code cleaned up

* 2.0.3 upd. zero bug fixed; selection saving on debug proccess

* intermediate -- filter interactivity service refactoring

* filter interactivity service refactoring, range display fix of TableView

* restoration of rangeFilter implemented

* Version 2.0.4, search option button removed, console logs removed

* v2.0.5 - numeric basic filter fix

* code clean up

* 2.0.6 - fixed tableView d3 flow

* code clean up (comments removed)

* v2.0.7: IE fixes

* Update sampleSlicer.ts

* Update capabilities.json

Co-authored-by: Nikita Grachev <v-grniki@microsoft.com>
2020-02-28 11:09:01 +07:00
assets initial commit (#2) 2017-06-15 14:50:05 +03:00
doc sync slicers support + docs (#7) 2018-07-10 21:31:14 +07:00
src Webpack migration and updates (#11) 2020-02-28 11:09:01 +07:00
style Webpack migration and updates (#11) 2020-02-28 11:09:01 +07:00
.gitignore Webpack migration and updates (#11) 2020-02-28 11:09:01 +07:00
LICENSE Initial commit 2017-05-14 06:03:17 -07:00
README.md sync slicers support + docs (#7) 2018-07-10 21:31:14 +07:00
capabilities.json Webpack migration and updates (#11) 2020-02-28 11:09:01 +07:00
package-lock.json Webpack migration and updates (#11) 2020-02-28 11:09:01 +07:00
package.json Webpack migration and updates (#11) 2020-02-28 11:09:01 +07:00
pbiviz.json Webpack migration and updates (#11) 2020-02-28 11:09:01 +07:00
tsconfig.json Webpack migration and updates (#11) 2020-02-28 11:09:01 +07:00
tslint.json Webpack migration and updates (#11) 2020-02-28 11:09:01 +07:00

README.md

PowerBI Slicer custom visual sample

Build Status

Demonstrates the use of the Advanced Filtering API introduced in the version 1.7 of PowerBI Visuals Tools.

This PowerBI Custom Visual relies on the Advanced Filter API for bulk data-point selection and PowerBI Visuals Interactivity Utils for discrete data-point selection.

Understanding the visual

The visual lets the user select numeric data inputs to be displayed in all other visuals in the same report sheet. The user can either select discrete values or a range by adjusting the sliders.

See a demo PowerBI report to get an idea about the visual's functionality.

Setting up the environment

You will first need to set up your environment as detailed here.

Installing dev dependencies

Once you have cloned this example, run these commands to install dependencies and to connect the visual into powerbi.

npm install # This command will install all necessary modules

Starting the dev app

pbiviz start

Understanding the code

  1. Code structure
  2. Discrete selection with the PowerBI Visuals Interactivity Utils
  1. Advanced selection with the Advanced Filter API
  1. Bookmarks support
  1. Slicer synchronization support