The goal of this project was to reduce the size of the custom visual timeline slicer for Power BI that was created by Microsoft team. Extra functionality was added with the introduction of date pickers, which allows for easier picking of precise dates if necessary.
Here are some side by side comparisons from the original version to this projects version of the timeline:
If you clone this repository, you will not have any of the dependencies necessarry to run the code. In order to download those dependencies, you must enter the following commands:
npm install Graphical date range selector to use for filtering dates
The Timeline slicer is a graphical date range selector used as a filtering component in Power BI. This makes filtering data by date dimension easy and fun.
How often do you have to filter your data for a date range or at higher level such as month or quarter? Every single time. Right? Filtering is pain when you have to click through large numbers of date values to select the range you want. Changing the filter granularity from months, the quarters and years on the fly is super tedious. Well, it used to be super tedious.
The Timeline slicer is going to make this experience a breeze. With this simple slider control for dates, all you need to do, is just click and drag to the range that you want. You can also switch to a Year, Quarter or Month view to select ranges even at a higher level than dates.
You can simply click on the slicer to select a single value or click the edge and drag it to the range that you want.
You can also change the background & selection color and number of other formatting options to control the look-n-feel. SHIFT+Click also works for selecting a range.
