Power BI: Use DAX Switch Function to Make IF Functions Easier

  Рет қаралды 79,273

Pragmatic Works

Pragmatic Works

Күн бұрын

Пікірлер: 37
@danielrafferty4108
@danielrafferty4108 Жыл бұрын
Thanks for this. I am currently doing a dashboard where 23 different code names are used for work accounts and now my boss wants me to give the actual names for these values with the data I have. First thing I thought when I saw the if statement in there was "Oh no, please tell me I don't need to nest all these statements." searched PowerBi dax switch statment and your video was top of the list here. Thanks for quick example! Will be much easier to implement! I'm sure your second measure will come in handy too, the account i'm working on is a bit cowboy with it's support and i'm the only one working on anlytics through Dashboard applications like PowerBI at the moment. I can forsee needing something like this in the future.
@wapta
@wapta 2 жыл бұрын
7:00 With SWITCH use TRUE() to evaluate conditions; instead of nested DAX IF statements. Great tip!
@martinfernandezcean
@martinfernandezcean Жыл бұрын
This guy explains really well! Thank you
@PragmaticWorks
@PragmaticWorks Жыл бұрын
Thank you Martin, we are glad you think so!
@tianabryant8124
@tianabryant8124 3 жыл бұрын
Thank you! I've subscribed - your explanation helped me to FINALLY make sense of this function for a class I'm taking (after two days). I'm new to DAX and Power BI and your breakdown was much appreciated!
@PragmaticWorks
@PragmaticWorks 3 жыл бұрын
Glad it helped!
@yasinnadaf2974
@yasinnadaf2974 2 жыл бұрын
Thank you so much. This video is very useful. Keep making such video
@PragmaticWorks
@PragmaticWorks 2 жыл бұрын
Thank you!!
@CRAM1REZ51
@CRAM1REZ51 2 жыл бұрын
Fantasttic!!!!!! Got mi Power BI rolling....!
@PragmaticWorks
@PragmaticWorks 2 жыл бұрын
Glad you enjoyed!
@ItsWithinYou
@ItsWithinYou 2 жыл бұрын
Excellent explanation! Many thanks for sharing!
@PragmaticWorks
@PragmaticWorks 2 жыл бұрын
You're welcome! Glad you enjoyed it!
@sonpurkesone4072
@sonpurkesone4072 2 жыл бұрын
Very helpful sir, thanks for the effort
@PragmaticWorks
@PragmaticWorks 2 жыл бұрын
Most welcome!
@xyclos
@xyclos 2 жыл бұрын
Excellent explanatio. Very detailed!! Thanks a lot!
@abhinavdiwakar1308
@abhinavdiwakar1308 2 жыл бұрын
Brilliant video, so easily to follow.
@Bhatp9
@Bhatp9 2 жыл бұрын
Thank you, your videos are invaluable. I must say though that I had to use double quotes even for numeric outputs in the Results value for multiple IF functions.
@Alberto-dx2sw
@Alberto-dx2sw 2 жыл бұрын
nice video! very useful and concise
@PragmaticWorks
@PragmaticWorks 2 жыл бұрын
Glad it was helpful! Thanks for watching!
@phinduloneluheni2650
@phinduloneluheni2650 3 жыл бұрын
YOU ARE A GREAT TEACHER ! THANK YOU
@timewithsopy
@timewithsopy 2 жыл бұрын
just stumbled to your channel. sub. Thank you. Question. Can I use SWITCH on multiple measures at the same time? That's the dilemma i'm in right now.
@erinfield1943
@erinfield1943 7 ай бұрын
I love a good non-sales-related DAX example.
@fernandol1611
@fernandol1611 11 ай бұрын
¿Se puede combinar SWITH con IF o con otro SWITH ?
@niitichowdhury6
@niitichowdhury6 2 ай бұрын
Great video
@channelino24
@channelino24 10 ай бұрын
Great, learned it. How to use SWITCH with a list of text values? I tried it with IN bit didnt work .. if anyone has an idea, please let me know..
@mohammedshajith4013
@mohammedshajith4013 2 жыл бұрын
How about conditional columns easier way right?
@ahmedismailbinamrai1080
@ahmedismailbinamrai1080 Жыл бұрын
very helpful, thank you
@goput7538
@goput7538 Жыл бұрын
Nice explanation. Would you add, how to combine Swith(true) functions with Min & Max. For ex : The results after multiplier must with MIN and MAX. Need a help.
@robertravinath6365
@robertravinath6365 Жыл бұрын
Superb
@venkatareddykummitha5863
@venkatareddykummitha5863 2 жыл бұрын
Suppose i want sorting order of 20 unique customers names in column ( 100000 rows ) by using calculated column. How is that ..
@prudhvireddy6452
@prudhvireddy6452 3 жыл бұрын
Good explanation
@ukaszlachmider5961
@ukaszlachmider5961 2 жыл бұрын
Great tip, especially on how to use expressions instead of constant values!
@fernandobo9231
@fernandobo9231 3 жыл бұрын
Very helpful
@PragmaticWorks
@PragmaticWorks 3 жыл бұрын
Glad to hear that
@tisseract
@tisseract 2 жыл бұрын
Switch time = IF( x < 5, 1-x/10) ? there x= Missed Chores
@demaxsuelmarques6382
@demaxsuelmarques6382 2 жыл бұрын
Show!
@kiroshengovender9791
@kiroshengovender9791 2 жыл бұрын
Joke had me in stiches
📊 Power BI DAX: Related Versus RelatedTable
15:40
Pragmatic Works
Рет қаралды 14 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Power BI DAX: Running Totals Using Variables, CALCULATE, and FILTER
11:32
Making DAX Easy
20:01
How to Power BI
Рет қаралды 223 М.
Power BI EXPERT Shares Refreshing Data Secrets
11:41
Pragmatic Works
Рет қаралды 4,7 М.
Using the SELECTEDVALUE function in DAX
12:27
SQLBI
Рет қаралды 193 М.
Understanding Row Context in DAX using Power BI
19:47
Pragmatic Works
Рет қаралды 47 М.
Beginner Power BI DAX Functions Tutorial [Full Course]
2:54:14
Pragmatic Works
Рет қаралды 1,7 МЛН
How To Create these useful Power Bi Visuals that Excel Lacks
10:55
Leila Gharani
Рет қаралды 487 М.
Power BI DAX: Time Intelligence Rolling Measures (Tutorial) 💥
17:04
Pragmatic Works
Рет қаралды 25 М.
📊 How to use Power BI DAX - Tutorial
37:28
Kevin Stratvert
Рет қаралды 1,2 МЛН