An open API service indexing awesome lists of open source software.

https://github.com/jongio/powerbi-visuals-radioslicer


https://github.com/jongio/powerbi-visuals-radioslicer

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Power BI Radio Slicer Custom Visual

![](radioSlicer/assets/icon.png)

![](assets/vizpane.png)

![](assets/reportview.png)

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).