{"id":13736058,"url":"https://github.com/Microsoft/powerbi-visuals-sampleslicer","last_synced_at":"2025-05-08T12:31:55.746Z","repository":{"id":21919623,"uuid":"91243756","full_name":"microsoft/powerbi-visuals-sampleslicer","owner":"microsoft","description":"Demonstrates creating a powerbi slicer visual using various powerbi filtering APIs and features.","archived":true,"fork":false,"pushed_at":"2024-04-06T22:21:38.000Z","size":3407,"stargazers_count":37,"open_issues_count":38,"forks_count":24,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-05-07T23:47:29.791Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-14T13:03:12.000Z","updated_at":"2025-04-29T03:23:29.000Z","dependencies_parsed_at":"2024-01-12T04:43:40.917Z","dependency_job_id":"4a2595d0-6a03-48fc-b54f-351f9e59aca0","html_url":"https://github.com/microsoft/powerbi-visuals-sampleslicer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fpowerbi-visuals-sampleslicer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fpowerbi-visuals-sampleslicer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fpowerbi-visuals-sampleslicer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fpowerbi-visuals-sampleslicer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microsoft","download_url":"https://codeload.github.com/microsoft/powerbi-visuals-sampleslicer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253068657,"owners_count":21848858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T03:01:15.120Z","updated_at":"2025-05-08T12:31:55.111Z","avatar_url":"https://github.com/microsoft.png","language":"TypeScript","funding_links":[],"categories":["Visuals"],"sub_categories":["MS Open-Source Visuals"],"readme":"# PowerBI Slicer custom visual sample\r\n[![Build Status](https://travis-ci.org/Microsoft/powerbi-visuals-sampleslicer.svg?branch=master)](https://travis-ci.org/Microsoft/powerbi-visuals-sampleslicer)\r\n\r\nDemonstrates the use of the Advanced Filtering API introduced in the version 1.7 of [PowerBI Visuals Tools](https://github.com/Microsoft/PowerBI-visuals-tools). \r\n\r\nThis PowerBI Custom Visual relies on the Advanced Filter API for bulk data-point selection and [PowerBI Visuals Interactivity Utils](https://github.com/Microsoft/powerbi-visuals-utils-interactivityutils) for discrete data-point selection.\r\n\r\n### Understanding the visual\r\nThe 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. \r\n\r\nSee a [demo PowerBI report](doc/SampleSlicer.pbix) to get an idea about the visual's functionality.\r\n\r\n![](doc/images/SampleSlicer.PNG)\r\n\r\n### Setting up the environment\r\n\r\nYou will first need to set up your environment as detailed [here](https://github.com/Microsoft/PowerBI-visuals/blob/master/Readme.md#setting-up-environment).\r\n\r\n### Installing dev dependencies\r\n\r\nOnce you have cloned this example, run these commands to install dependencies and to connect the visual into powerbi.\r\n\r\n```\r\nnpm install # This command will install all necessary modules\r\n```\r\n\r\n### Starting the dev app\r\n```\r\npbiviz start\r\n```\r\n\r\n### Understanding the code\r\n1. [Code structure](doc/CodeStructure.md)\r\n2. Discrete selection with the PowerBI Visuals Interactivity Utils\r\n  - [Adding the Interactivity Utils to the project](doc/AddingInteractivityUtils.md)\r\n  - [Using the Interactivity Utils](doc/UsingInteractivityUtils.md)\r\n3. Advanced selection with the Advanced Filter API\r\n  - [Adding the Advanced Filter API to the project](doc/AddingAdvancedFilterAPI.md)\r\n  - [Using the Advanced Filter API](doc/UsingAdvancedFilterAPI.md)\r\n4. Bookmarks support\r\n  - [Adding bookmarks support to the project](doc/AddingBookmarksSuppoprt.md)\r\n5. Slicer synchronization support\r\n  - [Enable Sync Slicers](doc/SlicerSynchronizationSupport.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMicrosoft%2Fpowerbi-visuals-sampleslicer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMicrosoft%2Fpowerbi-visuals-sampleslicer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMicrosoft%2Fpowerbi-visuals-sampleslicer/lists"}