Is it possible to uncheck a user's slicer selection based on the input from another? - powerbi

This is a question about unchecking user inputs from a slicer that has a hierarchical relationship with another. As an example, a user selects ‘fruit’ from a ‘level 1’ slicer and ‘Apples’ from the ‘level 2’ slicer. They then change their mind and select ‘cars’ from the ‘level 1’, however Power BI holds onto ‘apples’ from the original selection, leading to a nonsensical slicer combination.
Is it possible to reset/uncheck the ‘level 2’ slicer whenever the user makes changes to the level 1 slicer? I have already investigated using bookmarks, but a slicer isn’t able to trigger a bookmark. Please note that the two slicers need to be separate items.

Related

Power BI Slicer Default Selection

I have a PowerBI sheet consisting of multiple visuals and one slicer. The underlying data set includes one column called "selected" consiting of either "1" or "null". I want the slicer to always be default setted to only show data where the data entries in column "selected" are equal to "1". I want that the user is still possible to modify the selection and then be able to press a button to return to the pre-selection. I found no way possible to do this. Do you guys have any idea? I am pretty new to PowerBI.
I only found a way to pre-select the whole sheet or slicer to only show values where "selected" =1 but I want the user to be able to further select data. Also I only saw solutions for pre-selected slicer based on dates (e.g. most recent date is pre-selected).
What you need to do is to preselect all filter and save "bookmark" (view tab in powerbi desktop); Then you can assign a bookmark to the button.
Read this article:
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-bookmarks?tabs=powerbi-desktop

How to set last 2 months as default filter in a power bi dashboard

The user when opening the dashboard needs to see the last 2 months filtered with slicer not selected
if user select any date in slicer, then the graphic should be filtered according to the slicer (not only 2 months)
You can use the relative data filter to show the last two months of data on your report. This will track over the time without needing to update the date.
What you can then do if you need the user to put in their own date range it to use a bookmark to remove the date filter to the full date range, which the user can select.
Using two bookmarks one to clear the data range and one to show the last two months. You can layer the bookmarks and control the visuality, and even the slicer type if required.

interactivity between slicer and map in power bi

I have a slicer and a map set to be interactive. The slicer behaves accordingly, but the other way is not. When a click a county in the map, my whole dashboard reflects the data accordingly. But when I choose a different county using the slicer, while the map selection is still active, I get no data because the initial county selected remains active. IS there a way to make interactivity between slicer and map? I mean map to slicer?
i think your issue here is that both the slicer and map are set to filter whole page. you can either remove one of them and apply filter to each visual separately or apply a measure using CALCULATE(Measure,ALL(….

How do I create a slicer that only affects one column in Power BI?

I have a table with multiple columns, I would like to add a "Previous Date Slicer" so that there is a column that will fetch data from previous dates that the user selects, but it applies this slicer to the entire table so I can't actually create a comparative column and the entire table is filled with data from the dates I have selected.
The intent is that the Previous Data Column will display the information from the previous dates I selected in the slicer column, creating a comparison. One column will have the current dates data, and the other column will have the previous dates data from dates the user specified.
you should be able to do this by "Edit Interactions" feature.
When you have the slicer highlighted you will see a "Format" pane in the top many and the first button on this page is the one you want. One you enabled "Edit Interactions" some extra icons will apear on the other objects and all object is by default set to filter. You can change the object you don't want to be filtered by the slicer to "None"

one-way interaction between visualisations

I have a simple (one table) report with the following columns: Date, Amount, Category and Subcategory.
I try to create a page with three visualisations.
The first one is for the amount/date (vertical bar chart). The second one is for amount/categories (treemap). The last one is for amount/subcategories (treemap).
I have created hierarchy for date and categories.
When I select a column in the amount/date, the visualisation of the bottom ones filters OK.
The problem that I have is that when I click on the amount/category treemap the amount/date bar chart resets its selection and the amount/category shows all the categories across all the dates.
I have tried to prevent this by setting the interaction to "No Impact" on the amount/date visual, but it didn't help.
How do I create "One Way" interaction between visuals?
If you CTRL-click, you can make multiple selections. If you click normally, then regular visuals will replace filters on other visuals.
Slicers are a special visual type whose selections don't get overridden by selections in other visuals.