Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Relative date filter and date slicer

 
Chart type - Bar Chart showing the month on month total count.
We have a report that by default shows the data for the current month, filter is set as shown in fig 1. when users access the report (we are using a filter for that) so that it will show only the current month data in visual. But the report also has a slicer filter where we would like to enable users to select a specific month on the same page where the slicer is set as shown in fig 2. I’ve already worked on disabling the interactions between the two filters and enabling the interactions of each filter with all other visuals we have on the page.

Still not working, since the default filter filters the data even when the slicer is used.

Would that be a solution for the default selection to be disabled when users interact with the slicer filter?

 

Fig 1.

 

Fig 2 

 

  • Anonymous's avatar
    Anonymous
    4 years ago

    HI Anonymous,

    It sounds like you want to use the slicer to achieve a selector effect instead of the filter.

    For this scenario, I'd like to suggest you create an unconnected table and use it as the source of the slicer.
    After these steps, you can write a measure formula to compare selected values and return the flag and use it on the 'visual level filter' to filter visual records.

    Applying a measure filter in Power BI - SQLBI
    Regards,

    Xiaoxin Sheng

2 Replies