https://github.com/jongio/powerbi-visuals-radioslicer
https://github.com/jongio/powerbi-visuals-radioslicer
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jongio/powerbi-visuals-radioslicer
- Owner: jongio
- License: mit
- Created: 2017-03-07T17:44:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-06-16T16:32:51.000Z (about 5 years ago)
- Last Synced: 2025-04-24T04:44:09.619Z (about 2 months ago)
- Language: TypeScript
- Size: 1.02 MB
- Stars: 9
- Watchers: 2
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# Power BI Radio Slicer Custom Visual



This is a bare bones sample visual that demonstrates what you need to create your own slicer using the [Power BI Custom Visual SDK](https://github.com/Microsoft/PowerBI-visuals-tools). A "slicer" is a control that allows you to filter a report based on a selected value.
The "Radio Slicer" control simply renders a radio button for every category databound to it. When you click on a radio button the rest of the report will be filtered by that radio button's value.
> If you'd like to just use this visual, then you can download it here: [Download Radio Slicer](https://github.com/jonbgallant/PowerBI-visuals-radioSlicer/raw/master/radioSlicer/dist/radioSlicer.pbiviz)
If you want to learn how to create your own slicer, you can follow along at this blog post: [How to Create a Power BI Slicer with the Power BI Custom Visual SDK](http://blog.jongallant.com/powerbi-custom-slicer)
I intentionally made this as simple as possible to demonstrate what is required to create a custom slicer. I also created a more complete slicer example that can be found here: [PowerBI-visuals-rangeSlider](https://github.com/jonbgallant/PowerBI-visuals-rangeSlider).