62de33165c
* 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> |
||
---|---|---|
assets | ||
doc | ||
src | ||
style | ||
.gitignore | ||
LICENSE | ||
README.md | ||
capabilities.json | ||
package-lock.json | ||
package.json | ||
pbiviz.json | ||
tsconfig.json | ||
tslint.json |
README.md
PowerBI Slicer custom visual sample
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
- Code structure
- Discrete selection with the PowerBI Visuals Interactivity Utils
- Advanced selection with the Advanced Filter API
- Bookmarks support
- Slicer synchronization support