Hi Pim, You can repeat this for all other visualizations on the report page. My guess is that you have cross filtering set to highlight. When you refresh the data, the relative time period . Since i couldnt join the customer table when i use customer name and total sales from all 3 facts) the measure is not giving proper result. I have completed the selected value, but now need to implement the Text Filter on the same page. You cant compare the feature list of Qlikview (launched in 1994) with Power BI (launched in 2015) and say Qlik has had this for 10 years. awesome article!! In order to render the Matrix blank, it is the matrix that needs to be filtered by the Check Filtered measure. It wont let me put a measure in the conditional formatting of the background of the card Great thanks, I solved it as you say by overlaying two scattergrams with the same set axes and one which has an inactive relationship to the slicer. I really like your solution, and thank you! Not (All). In the measure, you use IF ISFILTERED. The names are table and column names are obviously made up, its just to give examples of the fact I am using different tables and all columns are different. Thanks for sharing! Checked Total Sales goes onto the Values of the gauge. In the Action settings, I chose Type = Page Navigation, and then selected the fx next to the Destination bucket. Start by selecting a visualization to make it active. 3 gear, 6 gear) It shouldnt matter which visual type you are using. I had the same problem and worked out from Michaels comment for my grid that you cant use the same column in your visual as your slicer. Retrieve the selected date from the Date We use as a reference date the last date visible in the Date table, and we show the previous six months; Create a filter with the previous six months and apply it to the Previous Date table; Activate the relationship between Previous Date and Date, so that the newly computed filter operates on Date. if you have got the results. If Qlik added it 12 years ago, that would make it a feature added after 15 years of use. Hi Denny, The answer is simple: Power BI is 4 years old, Tableau is 16 years old and Business Objects is 26 years old. So as long as you can write the DAX, you will be able to do what you suggest. Pam. For example, selecting a state on a map visualization highlights the column chart and filters the line chart to display only data that applies to that one state. What i did is: appended sales 1 and sales 2 Thanks million times! If a Part Name however can have multiple Part Numbers, then you will get the alternate result (a blank) returned by the [Measure] if more than one part number for that part name is selected. If so how ? I have 2 visual independently (and 2 on exactly on top of them) This was frustrating me for quite a few minutes until I realized what was going on. Alternatively, leave the world map fully visible, but alter the message, to explain that data will only be revealed once a selection is made. The Card should be displaying the message. See my response to that. I created an Information button. Have I done something wrong? Great tutorial. 1. Now I can interact with the visuals again. In the Check Filtered measure, I had to test different columns of the master table ISFILTERED(MasterTable[FindTheRightColumnHere]) and all of a sudden it worked. From the menu bar, select Format, select the drop-down caret under Apply drill down filters to, and select Entire page. Your formula logic looks okay. Sales line1 joined with date and customer 1 table I believe that is working. Is there a way to trap that? Alternately, given that the visual you wish to hide is a Matrix, you could set up the matrix something like this: So while you could use HASEONEVALUE as a solution, it would be easier to use SELECTEDVALUE. Very useful. You need to have at least two values in the visual you are trying to hide (filter) with the Check Filtered. Measure = SELECTEDVALUE(Parts[Part Number]) Thank you, good post and demo video, I started out thinking this should be called the dynamic filtering tutorial until youpulled the rabbit out of the hat with overlaying the card and the transparency approach. It really bothers him to see a visualization that doesnt make sense unless its sliced. The same applies to Cards. But as it turns out, you can change the transparency of a HEX colour like #FFFFFF by adding an optional additional 2 characters to the end (00 being 100% transparent). The problem is the card becomes transparent but is still considered the object in front, not allowing users to click on the other objects. If someone have any clues to how I could make this work, I'd really apreciate the input. On my slicer I have weather attributes (temperature, humidity, wind and pressure). Can you please show me how would the formula be if I want to use the function of specific selection in a slice? Well Done! Is this possible using Power BI ? I used that technique, and it is working, but I cannot interact with the visual where I have implemented card. Visualization Tip: Change to Filter instead of highlight - RADACAD Hi Jason, Here I have an example where [Check Filtered] is leveraging SELECTEDVALUE. Looks great. Anybody have a fix for that? Current v Prior Month = SELECTEDVALUE('Date'[Month Name Short])& " " &SELECTEDVALUE('Date'[Year])&" versus Prior Month". I think the cleanest way of achieving your goal would be using Bookmarks. Step-1: Create a static table with measure name. Power BI service. Sometimes however, it will be necessary to reveal the visual only if a specific selection has been made. You cant use this technique because of the invisible box will cover the slicer and hence you cant click the slicer even when the box is invisible. But this method of obscuring both the data and the headers means you can do additional stuff like overlay different types of visuals on top of each other, and trigger a bookmark-like experience from a Slicer, which is very cool (and should be allowed natively). 1. Im glad there is some conditional formatting available. appear but conditional formatting seems to not be an option for my version of Power BI Desktop. If you have any doubts (my model is in portuguese), please, feel free to reach out to me. 1. I click on the first bar in graph A, which highlights that bar in graph A, hides my message card and makes a filtered bar graph B visible, while also filtering the table. Hi Vaishnavi, You could also look at fields that can be conditionally formatted, and set their font colour to black or white depending on the show hide. Yes. In the end, I reworked my measure (root cause FTW) and now everything is snappy enough to not require hiding the matrix at all. That version would not have the feature yet. The best I can come up with is covering options with bookmarks (no drop-downs obviously) and bookmarking the selection. The first measure that is needed is one that can return a True or False response based on the selection in our slicer. Hi Matt, Thank you Jason for responding. What visual are you revealing? . My advice is to set up your DAX formulas in a table and test that they do what you want. To do this, click on the Card, then select format\Background and switch it on. My only question is: can the solution for Jemma be used to switch between 2 matrix visuals based on the slicer selection? This is the 3rd iteration of this Power BI Visual Based on Selection article, attempting to address some of the confusion that has emerged since I added the [Check Filtered] measure into the mix in January 2020. The color formatting is not working as mentioned in my powerbi..i am unable to add measure in the formattingcan anyone help me, Hi Akhil, Is there anyway to do the same thing in drill through? Need experts advise on a requirement. Give me nothing when Check Filtered returns False I loaded the above in PBI and changed the data category of the Destination column to 'Country'. Hi! Here's a twist on dynamically filtering visuals by a slicer in Power BI! Yes you could use SWITCH(TRUE()), but that seems over kill unless you need more than 2 outputs, Hi Matt. This slicer will change the visuals to display either of the two calendar types, for example Planning Year holds future months and Financial Year does not. Id like to hide the whole visual, but I suppose I could create a measure for every single column Im putting in there, and just have it be blank if its filtered. In this situation, youll need a slightly different approach, see my response Pam (04 Feb 2022) below. Jason Cockington holds an MCSA in BI Reporting and is a Microsoft Certified Trainer (MCT) and consultant at Excelerator BI Pty Ltd. Jason has been training Power BI users for more than 2 years and has 15+ years experience in using data to deliver strategic business value in an applied scientific research setting. But can you help me acheive the same functionality if i click on a scatter plot instead of filtering? The largest, in-person gathering of Microsoft engineers and community in the world is happening April 30-May 5. For customer presentations? Screenshot attached for reference. Providing the column you are using on your slicer has a relationship to the data being evaluated by the measure, the values will be evaluated under the context of the selected value. That just seems like a lot of overhead. In Power BI Desktop, select Format > Edit interactions. how can I achieve this ? Great explanation. In the walkthrough the value is 1. I have tested the behaviour in my Power BI Desktop (Dec 2022), and the Slicer eraser works as expected. Hi! when user select Week in SLICER then display only1.Bar chart and 2&3 graph should hide Using a numeric column in a calculation. if possible can you mention required changes . Meanwhile, thanks for sharing a great, practical woraround. I know the subject may seem as somenthing obvious or irrelevant, but I'll try to clarify on the thread. In my case it was not enabled for visuals with no data or for visuals based only on measures. Matt shares lots of free content on this website every week. Hide Which Slicer = Im having the same issue. Youll need 4 new measures Thats a nice little workaround. For example, I was using it for a detailed grid, I only wanted to show information in this grid for the barcodes selected by the user. Using SELECTEDVALUES To Capture Power BI Slicer Selections Maybe the button says interact and it hides the overlay. document.getElementById( "ak_js_1" ).setAttribute( "value", ( new Date() ).getTime() ); Best learning resource for DAX and Power BI. If nothing is selected then the message appears over table Bs heading. Hi Mabel, How can i do that?? This technique senses a filter on value on a column. Hi Jace, For example, In my slicer i choose multiple entries, but in my table, I drill through the specific entry. You cant interact with measured filters on cards. I used this to allow for a dynamic axis generated from multiple slicers and a categorical measure. In the Power BI service, open the report in Editing view and select the dropdown from the report menu bar. remove category label A great tip, thanks for it!! I had a master table and a child table and I wanted to show no data on the child table unless I click on a row in the master table. is there any solution for this issue? And I also understand the limitation now (for slicer: drop-down and single selection will be less interacting than list and multi-select). Place the measure to Filters on this visual tab and in Show items when the value: is 1, I experimented with your hack to show or hide some menu buttons based on certain values in a table, to restrict access to certain pages in my report Hi Matt, is it possible to made same hiding technique to the below scenario To achieve this, we need a measure that will return nothing if the selection condition has been met, and display the message when it hasnt. Select FY22 or FY23 from the slicer to see the results for that year, Thank you for this. I will try to make another report using buttons (which are now primary slicers value) and bookmarks (and will select the one based on UAT). Interesting question. I just downloaded the recent version of PBI. Under Home tab > Click on Table icon > table dialogue box opens. Thanks so much Jason for the prompt reply. If anything on the slicer has been selected, then Show the visual. Its just coming up as is less than and its frozen. I used that technique, and it is working, but I cannot interact with those visuals where a card is implemented on top.