Dynamically Enable and Disable Slicers in Power BI

  Рет қаралды 20,401

How to Power BI

How to Power BI

Күн бұрын

Join my Power BI Design training here: my.datatraining.io/pages/powe...
Enjoy and subscribe to always stay updated on my favorite Power BI tricks :)
Download file here datatraining.io/powerbi-how-to
--------------------------------
📊 TRAININGS 📊
---------------------------------
Power BI Design 4 Weeks Transformation Program my.datatraining.io/pages/powe...
Power BI Essentials datatraining.io/powerbilearni...
Business User Training datatraining.io/powerbi-busin...
For Custom Trainings and Consulting email directly support@datatraining.io
---------------------------------
⏱️ TIMESTAMPS ⏱️
---------------------------------
00:00 Intro
00:44 Visual filter for timeline slicer
03:00 Dynamic slicer text
04:27 Conditional formatting of slicer header
06:00 Text slicers, button slicers
06:43 Slicer interactions
10:36 End
---------------------------------
😍 JOIN 😍
----------------------------------
Join bit.ly/4b453bi
Subscribe bit.ly/31MnQGO​
Insta / howtopowerbi
LinkedIn / basdohmen
TikTok / how.to.power.bi
X / howtopowerbi
fb / howtopowerbi
Threads www.threads.net/@howtopowerbi
Newsletter datatraining.io/newsletter
---------------------------------
👇 CHECK THIS OUT! 👇
---------------------------------
💻 My gear amzn.to/47F21Yc
📚 Power BI books MUST READ! amzn.to/3tUfFcj
💡 General books I recommend amzn.to/48YNo33
🎶 Music for my videos www.epidemicsound.com/referra...
🚀 For growing on KZbin: www.tubebuddy.com/bas
🏄 Stuff I use daily amzn.to/3HqfMQ2
* Above are affiliate links, which means at no additional cost to you, if you make a purchase using these links we will receive a small commission. It supports us and helps us to continue making more How to Power BI videos!
Thanks for being a part of this channel and all your support! 💪 🙏
#HowToPowerBI​ #PowerBI​ #DataTraining​
#powerbidesktop​ #powerbitraining​ #powerbideveloper​ #DAX

Пікірлер: 82
@SQLDevDBA
@SQLDevDBA 19 күн бұрын
This is so hilariously simple, but so useful. I have so many workarounds I've used in the past (like bookmarks) to accomplish this, but never thought about it this way. Love the slicer header trick as well! Thanks so much Bas!
@ereg31415
@ereg31415 19 күн бұрын
Really great idea to disable the slicer! You can also change color via rules, then you don't need to create a measure and find the specific hex code
@HowtoPowerBI
@HowtoPowerBI 19 күн бұрын
thx!
@alexgry4763
@alexgry4763 17 күн бұрын
@@HowtoPowerBI Still sad that Microsoft makes us abuse the tool instead of introducing a conditional visibility.
@MarcoAntonio-yj4br
@MarcoAntonio-yj4br 19 күн бұрын
Amazing as always! Thank you!
@poojadattachoudhury9634
@poojadattachoudhury9634 18 күн бұрын
great video i have implemented same kind of logic in my recent development .. but changing the colour and text of visual is the cherry on cake .. will be implementing the same as well.. thank you
@jabiermartines
@jabiermartines 11 күн бұрын
Thank you. Very useful. I am a beginner and although I have already created several reports I have always wondered how exactly to do this Very well explained Cheers from Barcelona
@henriquemerolafaria2569
@henriquemerolafaria2569 18 күн бұрын
Simple and powerfull. Amazing, I'm using right now !!!
@PaulEBrownbill
@PaulEBrownbill 14 күн бұрын
Thanks for this video. Your explanation makes it seem so simple, and will be very useful. Paul
@worldofdata
@worldofdata 19 күн бұрын
simple yet very effective use case, great video :)
@nizararena
@nizararena 19 күн бұрын
As always phenomenal, thanks bas !!
@cmagnos
@cmagnos 18 күн бұрын
Great videos, I'll implement this technique soon.
@RadAlzyoud
@RadAlzyoud 19 күн бұрын
Brilliant. Thx for sharing.
@fanlovexcel
@fanlovexcel 18 күн бұрын
Nice trick again! Very insightful 😊
@QuantumIdeas
@QuantumIdeas 15 күн бұрын
Truly useful. Bookmarked!
@roverre61
@roverre61 19 күн бұрын
Bravoooooo Bas...!!! Always great ideas and inspiration. Many thanks ❤
@HowtoPowerBI
@HowtoPowerBI 19 күн бұрын
Thank you! Cheers!
@AbhinavPhukan-gd1di
@AbhinavPhukan-gd1di 8 сағат бұрын
Thanks mate. There is some issue with slicer of style 'Between'. We cannot disable and enable based on selected values of another slicer.
@harshilmarwadi1958
@harshilmarwadi1958 12 күн бұрын
🎉 That's exactly what i needed in my report
@OlayemiOA
@OlayemiOA 18 күн бұрын
Thank you sir 😊
@Fannie2uN2010
@Fannie2uN2010 13 күн бұрын
keep going Bas, we love you
@kingslayer1156
@kingslayer1156 19 күн бұрын
Great video. Do you have a video on how to create L12M, 6M period measures. A link would be much appreciated
@alexgry4763
@alexgry4763 17 күн бұрын
Measure = VAR SelectedMode = SELECTEDVALUE( Period ) VAR MonthLag = SWITCH( TRUE(), SelectedMode = "Last 3 Month" , -3, SelectedMode = "Last 6 Month" , -6, SelectedMode = "Last 12 Month" , -12, 0) RETURN CALCULATE( [Some Measure], DATESBETWEEN('Date'[Date], TODAY() + MonthLag*30, TODAY()) )
@rahulmaurya9444
@rahulmaurya9444 19 күн бұрын
For date slicer I am using bookmark to show one slicer at a time. But this looks interesting.
@alexgry4763
@alexgry4763 17 күн бұрын
That is one way to go. However, bookmarks scale multiplicative. Let's assume that you have 4 bookmarks. If you add some another factor, which needs 2 more Bookmarks for different states (like 2 different chart types or showing/hiding side panel for ex), you will end up creating 2x4 = 8 bookmarks. And that gets increasingly out of control very fast.
@8g8819
@8g8819 19 күн бұрын
You are a beast!
@azwarmzafar
@azwarmzafar 19 күн бұрын
Great tips many thanks
@HowtoPowerBI
@HowtoPowerBI 19 күн бұрын
😁thx
@excel-solutions4564
@excel-solutions4564 16 күн бұрын
Great video! Just one thing, if we have a selection in promotion slicer and than we select cataloge store, it will not deselect the selection in promotion slicer, right? How to handle it?
@marekbona4987
@marekbona4987 17 күн бұрын
Hello sir, thank you for this video and idea ! Works perfect with these two types of slicers, but i m working on project right now where i use dropdown slicers and it actaully makes a difference, but im still able to "open" dropdown slicer but i see nothing there using your method, which works fine but is it somehow possible to disable dropdown slicer the same way how you did that with date slicer ? My last question is, is this possible with buttons aswell ? tu use measures to disable and enable buttons in powerBI ? Thanks for your contet and have nice day !
@paulgeorges2267
@paulgeorges2267 19 күн бұрын
Once again a very informative and clear video! 👌💪👏 Correct me if I'm wrong but on Excel slicers it's a native feature to hide value with no data. Weird it's not native on PowerBI ?
@MrSparkefrostie
@MrSparkefrostie 19 күн бұрын
We are using this and have a Custom option in the date period selector, this will make things a lot neater. The one thing we have not gotten right is resetting the date slider when flipping between date periods.nneed to hit the eraser and then the period, given the text bit I think it will still affect this, likely this will help others who use this, unless this works without that
@leonelalegria7787
@leonelalegria7787 8 күн бұрын
TOP! Thanks!
@HowtoPowerBI
@HowtoPowerBI 8 күн бұрын
THANKS! 😁
@niltonsantos479
@niltonsantos479 19 күн бұрын
Perfect
@ashishmohan4707
@ashishmohan4707 19 күн бұрын
Amazing great New learning in Power BI
@HowtoPowerBI
@HowtoPowerBI 19 күн бұрын
Glad you think so!
@mustafabiviji00711
@mustafabiviji00711 19 күн бұрын
Bas, thanks for the trick! Is the line chart continuous or categorical? I can see it is a time series on X-axis which generally is plotted on a continuous line chart. But you have breaks in the line chart which is not possible in Power BI (unlike Tableau) ... This is required especially for sensor data where the sensor value is missing for certain date-time values.
@usman_oz
@usman_oz 19 күн бұрын
Nice techniques for UX. However, dont you think if we have multiple slicers with such functionality & also several visuals with similar UX techniques which invlove creation of custom measure/columns / buttons / bookmarks / interactions, etc would make the report more complex to manage when someone would want to make changes to report after few months or if report is handed over to a different developer to enhance or maintain ? Thanks
@HowtoPowerBI
@HowtoPowerBI 19 күн бұрын
Sure, you can also go for a mediocre report that everyone understands how to build all features .. depends what is more important to you
@anupamjha827
@anupamjha827 17 күн бұрын
Can we use selected value for disabling time range
@CS-cl3ij
@CS-cl3ij 18 күн бұрын
This is really smart! I thought it was going to solve my issue, but it's just off. I have 2 slicers that I'm experiencing this problem with but they're both referencing the same field. The reason is they wanted a quick date slicer to choose custom number of weeks and such but also want to be able to easily toggle custom date ranges(with the between type of slicer), so this solution doesn't work. From the comments, I may try an old school bookmark though
@LeonidKostin
@LeonidKostin 15 күн бұрын
is there a way for you to duplicate this field but name differently? I think you can reuse the described above approach but you just need to separate the fields by creating the second one as a date table
@AlphaPrime808
@AlphaPrime808 19 күн бұрын
Hi, thank you very much for the solution......now a question, as you left your date filter with those bars at the bottom, mine only shows those circles haha.......I'm referring to the date range dates.
@yuliiakamkova7022
@yuliiakamkova7022 17 күн бұрын
try to turn off responsivnes of the slicer in the advance options of Format :)
@rafaybahelmi
@rafaybahelmi 19 күн бұрын
Hi Bas / @HowtoPowerBI Thanks for the detailed video. I have implemented similar solutions in the past. However, with my solution, the slicers conflicted and returned incorrect results when the Period slicer is disabled and the date range slicer is selected (for example, the last 3 months from January to March). After this, when L12M is selected, it retains filters from both the Date Range slicer and the Period slicer, showing only the last 3 months. How does the behavior in your implementation differ? Could you please clarify? Thanks a lot for this and all other videos. Much appreciated.
@nevermore17011990
@nevermore17011990 9 күн бұрын
beyond godlike
@HowtoPowerBI
@HowtoPowerBI 9 күн бұрын
😁 thx!
@The-Developer-BI
@The-Developer-BI 19 күн бұрын
Friendly Suggestion No thumbnail ✋ Maybe You forgot to choose ... Make it fix✅❤️
@HowtoPowerBI
@HowtoPowerBI 19 күн бұрын
oops
@user-bl4ux7bg9k
@user-bl4ux7bg9k 19 күн бұрын
Two Power BI Legend in one Frame❤😍
@DineshKumar-rf9eh
@DineshKumar-rf9eh 19 күн бұрын
That’s really useful. What will happen if two or more values selected in the Period slicer? And can we make it dynamic for the promotion slicer if it does not exist for the selected Store?
@HowtoPowerBI
@HowtoPowerBI 19 күн бұрын
you would need to set that slicer to single select only
@HowtoPowerBI
@HowtoPowerBI 19 күн бұрын
it is dynamic
@MrSparkefrostie
@MrSparkefrostie 19 күн бұрын
You could also add your periods and a "custom" option with forced selection, only downside here is the user needs to click the eraser on the slider when switching to a fixed period
@TheAtulsachan1234
@TheAtulsachan1234 13 күн бұрын
Disabling a slicer when you know that from calalog stores we do not sell via promotion. How about those scenarios when we are even aware if sell anything via promotion? I am looking at a dynamic hiding whenever there is no selection available on the second slicer.
@jainilvora7167
@jainilvora7167 19 күн бұрын
Is there any way to disable 3rd value selection in a same slicer because i want to restrict user to select only two state at a time if user try to select third value from same slicer slicer gets disable
@nicolajpetersen4673
@nicolajpetersen4673 19 күн бұрын
Can it be true there is no file to download? i cant find it on the page after clicking on the link. I did try type in my information. I couldnt sign in either, it said "registration has been disabled"
@AhmedCherif-mt5lb
@AhmedCherif-mt5lb 19 күн бұрын
Thank's 👏☺️
@HowtoPowerBI
@HowtoPowerBI 19 күн бұрын
You're welcome 😊
@arturpiwowarski7775
@arturpiwowarski7775 16 күн бұрын
How about single selection? :)
@Koikby79
@Koikby79 14 күн бұрын
I can’t find this pbix file to download? Is that an error?
@johnbaisley2799
@johnbaisley2799 16 күн бұрын
I tried this method and it works great on the desktop but when I publish to the service the date slicer still allows the user to click on the date to select a date, it just doesn’t actually filter anything. Was very confusing for the users
@MrHaddad
@MrHaddad 19 күн бұрын
Morning dear, how I can showing the group "matrics" on the right panel like I saw in your vedio?
@benndii
@benndii 19 күн бұрын
Just create a new table in the modeling view with no content or one column. Rename that and done.
@HowtoPowerBI
@HowtoPowerBI 19 күн бұрын
kzbin.info/www/bejne/mXjRiIOrlpKWo9E
@IvanKashperuk
@IvanKashperuk 19 күн бұрын
What about hiding it instead of disabling?
@lucaganugi3066
@lucaganugi3066 19 күн бұрын
A very basic feature that's still missing unfortunately
@HowtoPowerBI
@HowtoPowerBI 19 күн бұрын
that would be nice
@mcnater
@mcnater 19 күн бұрын
Something Qlikview had 13 years ago that PBI for some reason can’t do.
@JamesBatchelorGoogleProfile
@JamesBatchelorGoogleProfile 19 күн бұрын
Agreed.. Hiding or changing layer value to bring forward or back. But this is good progress in capabilities.
@Art_Van_Delay
@Art_Van_Delay 8 күн бұрын
I really appreciate your videos. Could I make 1 small suggestion though? Could you please put the entire Power BI application in your background and make the video of yourself a little smaller in the corner? I don't know if it's just me but it's so hard to follow which window you're in or which part of Power BI Desktop you're in when all we see is the little window of the part you're working on. We appreciate seeing your face but maybe it'd be okay if it's a little smaller in the corner so we could see more of what's happening. Most of the time, I end up just going to another channel because I don't understand where you are in the application. Thanks again.
@HowtoPowerBI
@HowtoPowerBI 8 күн бұрын
thanks for the feedback. I prefer the editing style as is, so probably wont change any time soon
@MagdyTawfikA
@MagdyTawfikA 18 күн бұрын
Great illustration, one lingering question: can we filter some of a slicer items (not the whole slicer) based on selection of another slicer? By the way, I found the answer to my question at one of your videos: SMARTER Slicers = BETTER User Experience | Show Only What's Relevant in Your Slicers in Power BI kzbin.info/www/bejne/n5bchKGsgpubjM0 Thank you so much!!
@ivanxdxd
@ivanxdxd 19 күн бұрын
It's ridiculous the number of "hacks" you need to do in order for power bi to work properly
@mariamolchanova3831
@mariamolchanova3831 17 күн бұрын
why do you always look like you would benefit from more sleep? please address your health, we do rely on you and would like to see you around.
@sum_andres31
@sum_andres31 15 күн бұрын
That's a really distasteful comment to make
@theoldvocals266
@theoldvocals266 12 күн бұрын
Absolute rubbish comment to make.
@edwinarchico439
@edwinarchico439 18 күн бұрын
Awesome, got to use this in my dashboard
@HowtoPowerBI
@HowtoPowerBI 6 күн бұрын
💻🤓😁 hope you got it up and running
NEW Button Slicers in Power BI | 3 Examples You Don’t Want to Miss!
38:27
NO NO NO YES! (50 MLN SUBSCRIBERS CHALLENGE!) #shorts
00:26
PANDA BOI
Рет қаралды 95 МЛН
顔面水槽がブサイク過ぎるwwwww
00:58
はじめしゃちょー(hajime)
Рет қаралды 115 МЛН
Advanced Grouping Tricks In Power Query
15:34
Goodly
Рет қаралды 14 М.
MASTERING Bar Charts in Power BI | No more Cut Labels
15:34
How to Power BI
Рет қаралды 93 М.
Power BI filter Results panel WITHOUT A BOOKMARK
6:56
Armand van Amersfoort
Рет қаралды 2,6 М.
3 Insane DAX Tricks - You Probably Don't Know About
10:18
Goodly
Рет қаралды 11 М.
5 Design Mistakes to Avoid in Power BI
11:35
How to Power BI
Рет қаралды 71 М.
3 Ways to use Calculation Groups You Need to Know
20:00
How to Power BI
Рет қаралды 49 М.
NEW POWER BI FEATURE! Updated Button Slicer Step-By-Step Demo
8:04
Maven Analytics
Рет қаралды 18 М.
You will never do DRILLTHROUGH any other way in Power BI!
6:38
Apple, как вас уделал Тюменский бренд CaseGuru? Конец удивил #caseguru #кейсгуру #наушники
0:54
CaseGuru / Наушники / Пылесосы / Смарт-часы /
Рет қаралды 4,1 МЛН
🤖Вернулись в ПРОШЛОЕ🤪
0:28
Demin's Lounge
Рет қаралды 109 М.
Готовый миниПК от Intel (но от китайцев)
36:25
Ремонтяш
Рет қаралды 439 М.
Он Отказался от БЕСПЛАТНОЙ видеокарты
0:40
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 2,1 МЛН
Переходник для IPhone • 181649538                         Делюсь обзорами в профиле @lykofandrei
0:15