WINDOW Function in ACTION I Examples in Power BI

  Рет қаралды 96,223

How to Power BI

How to Power BI

Күн бұрын

Пікірлер: 138
@JustRandomExplorer
@JustRandomExplorer Жыл бұрын
Great! to be honest every single of your videos are someway or another valuable. One of the best Power BI content creators on youtube. Thanks again!
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
So nice to hear! Thanks a lot 😊
@hainsay
@hainsay Жыл бұрын
Massive agree. I watch SQLBI for the minutiae of detail of DAX and how it works, the most technical stuff from first principles, and I watch Bas for exposure to report components I wouldn't otherwise know about, and how to bring the whole thing together. I don't think I'd know anywhere near as much without both.
@habuiah
@habuiah Жыл бұрын
@@hainsay Oh yeah! The combo SQLBI + HTPBI is the gold content on KZbin!
@IonbeamGreg
@IonbeamGreg Жыл бұрын
I really appreciate how you explain DAX. Detailed, explaining what is is important and where could be our mistakes. A step by step visual explanation. thanks !
@kebincui
@kebincui Жыл бұрын
The best DAX and Power BI content presentor 👍👍👍👍👍👍🌹🌹🌹🌹🌹🌹
@KyleCroucher
@KyleCroucher Жыл бұрын
You are the best DAX explainer BY FAR!
@mwaltercpa
@mwaltercpa Жыл бұрын
I love how your videos address technical DAX with a practical business case approach.
@ayoubaitelkadi7796
@ayoubaitelkadi7796 Жыл бұрын
You deserve +10 M subscribers and not +100K. Your enlightenment is greatly appreciated!!
@21121990jay
@21121990jay Жыл бұрын
Precise and unambiguous explanation. I'm sure even chatGPT wouldn't be able to explain this easily.
@GladiusArch08
@GladiusArch08 Жыл бұрын
I watched it at the time and remembered it. Sure enough finally had to use it in one my reports. Thanks a ton! You're a life saver
@ekaterinavolkova4348
@ekaterinavolkova4348 Жыл бұрын
The best video I've ever seen about the window function in Power BI. And I really like your way of telling it-smooth, positive, without unnecessary excitement.
@AgustinFernandez1009
@AgustinFernandez1009 Жыл бұрын
Your videos have helped me a lot, I notice how I started using PowerBI in a whole different level since I suscribed
@carlwagner3838
@carlwagner3838 Жыл бұрын
Thanks for the tutorial. I am very happy to see the Window function for creating moving averages over tables that have no dates. Wrote my first last night after upgrading to the Dec PowerBi desktop.
@baskis69
@baskis69 Жыл бұрын
Thank you very much for sharing. You explain in a masterful way¡¡¡¡
@kostaszogo21
@kostaszogo21 Жыл бұрын
Give that man a daily show in a national broadcasting channel!!! once again Bas delivers 👏
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
maybe one day... :)
@___________mrivan___________
@___________mrivan___________ Жыл бұрын
All the other approaches using DATESINPERIOD and DATESBETWEEN have failed for me. This is the only one that worked perfectly. Thank you!
@fraggle200
@fraggle200 Жыл бұрын
@ 12:18 when you point over your shoulder, there's no visualisation on screen.
@akshay1darve285
@akshay1darve285 Жыл бұрын
Superb feature and Thanks bass u explained amazingly ...
@stevenhampson8657
@stevenhampson8657 Жыл бұрын
Brillian Bas back again (from a real human). Really, really value your content - friendly approach, quality, detail, right level and the backing of the website with extra information and reference files.
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
Thanks a lot for those kind words! 😊 made my day
@PowerBi_ExcelDashboards
@PowerBi_ExcelDashboards Жыл бұрын
Great to have you back my brother
@SamE-kq5in
@SamE-kq5in Жыл бұрын
Thanks!
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
thx for thesupport!
@pabloalonso4017
@pabloalonso4017 Жыл бұрын
This is by far the best PBI channel. Congrats and thank you for all the unique knowledge you have shared.
@lubomirjagersky7327
@lubomirjagersky7327 Жыл бұрын
Thank you
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
thanks a lot for the support!
@Abiah
@Abiah Жыл бұрын
18:57 Wow! This is great. Thanks for sharing 🎉
@MVoss-nr6sd
@MVoss-nr6sd Жыл бұрын
Yes ! Bas is back I agree @how to power BI channel is the best Thank you Bas
@changeyourmind-p1n
@changeyourmind-p1n Жыл бұрын
Around 9:11 you talk about if we want the first 2 months to be blank. I saw it over and over, but could you please show the DAX formula for it? Ty =)
@estebansuarezcastro7053
@estebansuarezcastro7053 Жыл бұрын
Bas, this video is going to save my job this week. Excellent work!
@marcelolopes5684
@marcelolopes5684 Жыл бұрын
Very well explained, congrats!
@scobob
@scobob Жыл бұрын
This is fantastic. I already have a bunch of use cases in mind for this. Thanks for the clear explanation!
@mathiassaint
@mathiassaint 11 ай бұрын
Thanks for yet another great video! I especially love that u display the end result in the start of the videos! :)
@awarrentfa
@awarrentfa Жыл бұрын
This was an excellently crafted lesson, with each aspect of the formula demonstrated precisely when it would be necessary and useful. Well done!
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
Glad you enjoyed it!
@joaorataoo
@joaorataoo Жыл бұрын
Excellent presentation! I hope that that peregrine idea that IA would replace you is now forgotten. ChatGPT is very interesting as a support, to break a block, not to learn how to know how to do it. This is just my opinion, of course! Keep going and thanks!!!!!!!!!!!
@J0n0nI
@J0n0nI Жыл бұрын
Appreciate your videos content. I am really learning a lot from them. as your explanation to the functions and the visualizations made them so easy to follow. Thank you.
@РинатХабибрахманов-ш1й
@РинатХабибрахманов-ш1й Жыл бұрын
it's great that you're back, otherwise I started to think that the previous video is really the last one😁
@lmsweed
@lmsweed Жыл бұрын
😂😭
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
No worries, planning to stick around for a little longer :)
@РинатХабибрахманов-ш1й
@РинатХабибрахманов-ш1й Жыл бұрын
@@HowtoPowerBI very good, your channel is the best
@Saif_Ali_Khan_1301
@Saif_Ali_Khan_1301 Жыл бұрын
Brother how do you edit your videos, can you make a video on this topic, you editing is as awesome as your content
@sayankarmakar609
@sayankarmakar609 Жыл бұрын
Sir your voices are great I learn everything from your channel. Sir can you make tableau video?.
@valentinaverissimo5584
@valentinaverissimo5584 Жыл бұрын
No Brazil temos alguns canais mto bacanas tbm sobre o tema
@earlnoli
@earlnoli Жыл бұрын
Lovely explanation thank you mate 👏🏻👏🏻
@Cpl82111
@Cpl82111 Жыл бұрын
Congrats on the 100.000 subscribers!! :-)
@victorsalaspsalas3119
@victorsalaspsalas3119 Жыл бұрын
You are great, thank you very much for your teachings, I am from Chile and a faithful follower.
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
Wonderful! Thank you for watching Victor!
@sherifffruitfly
@sherifffruitfly Жыл бұрын
This is a very good video. Showing the need for the params by seeing what goes wrong is super helpful. Also taking it end to end with visualization is nice. Video would be enhanced by adding discussion of what the code IS doing in the "wrong" versions. I.e. the code isn't doing anything wrong - it's doing exactly what you told it to do. Understanding what you're telling PBI to do is the fullest learning. Performance vs old ways to do the same could also be discussed.
@LeighRadmore
@LeighRadmore Жыл бұрын
Congratulations on the 100k subscribers - thoroughly well deserved
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
Thank you very much!
@nseworld5521
@nseworld5521 Жыл бұрын
Like the way how you explain new functions!
@MVoss-nr6sd
@MVoss-nr6sd Жыл бұрын
Bas I have a question how do you deal with the dax function Count and Distinct count if you have to count people
@flyeagle320
@flyeagle320 Жыл бұрын
BAS it was very informative . Need time to understand . Thanks for the video :)
@josefedericopresno6668
@josefedericopresno6668 Жыл бұрын
Great to see You again, Bas! Awesome video as always. Thanks for share your PBi knowledge
@jamesshi9993
@jamesshi9993 Жыл бұрын
Super good, well explained and easy to understand. Thanks!
@storybi4636
@storybi4636 Жыл бұрын
I'm very interested to learn how the new functions and performance stack up against existing ways to write DAX. i.e. custom time with CALCULATE and Filter/All/Time. As someone looking at learning and adoption, it seems like the new functions are just as involved as the old CALCULATE with modifiers. Thanks again, I really enjoy your videos.
@richardmartin7904
@richardmartin7904 Жыл бұрын
Awesome. I would love to see you get messy with more windows functions. Does this mean there is even wilder dax and dynamic calculations we can do? Will there be a theoretical argument for using DAX window over sql window? Which one is more efficient?
@sukoi2113
@sukoi2113 Жыл бұрын
Thank you for one more beautiful presentation.
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
Very nice to see a comment from you in the new year!! Hope you had a good start
@data-futureoil1435
@data-futureoil1435 Жыл бұрын
Awesome explanation... Would appreciate if you make a video on exponential weighted moving average ..
@Amr-Ibrahim-AI
@Amr-Ibrahim-AI Жыл бұрын
Thank you so much Bas for your detailed video 👌🤝👏👏👏
@barttrudeau9237
@barttrudeau9237 Жыл бұрын
You are a great teacher! This has been really helpful
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
Glad it was helpful! 😊thank you
@atanasprodatanasov9233
@atanasprodatanasov9233 Жыл бұрын
Brilliant video. Thank you so much!
@antique-bs8bb
@antique-bs8bb Жыл бұрын
Really nice vid and I really learnt a lot. Love the deliberate teaching mistakes Just one bitty query. For a 3 month Moving average we used From -2, To 0. (time 3.30) For an n-month Moving average we used From -n, To 0. (time 11.20) where n is your [NR Months Value] parameter. So I reckon we are producing an n+1 moving average. Easily fixed mind.
@RubenCarlosCalderonValladares
@RubenCarlosCalderonValladares Жыл бұрын
Really nice! Window Function is Flexible and easier to code!
@nehikmetse
@nehikmetse Жыл бұрын
Bas you are a gem, really good explanations and kick ass hidden tips and tricks. Really valuable presentation.
@danielslagter
@danielslagter Жыл бұрын
after you added the Avg line Q3 and Q4 has added to the visual even though they are empty, is there a way to hide that? to see only quarters with values
@premcst
@premcst Жыл бұрын
Spot on !! And Congratulations on 100K subs .. More to go ..
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
Thank you very much!
@relogbr
@relogbr Жыл бұрын
Great work Bas, thank you!
@barte894
@barte894 Жыл бұрын
Hi. I have some question. I need to make slicer panel with percentage intervals. Example: 30% Is it posaible to do that in power Bi?
@pepper_lab
@pepper_lab Жыл бұрын
Yes why not
@barte894
@barte894 Жыл бұрын
@@pepper_lab but how? ;)
@mabenba
@mabenba Жыл бұрын
Amazing video!! Thanks for sharing your wisdom with us. I can't the same result as the second option replacing the quarters by the months. I need to upskill my DAX.
@udusegbe
@udusegbe Жыл бұрын
Awesome Function! And even more important, thanks once again for a very clear explanation video :-)
@manjunatharalikatti2202
@manjunatharalikatti2202 Жыл бұрын
Nice explanation .. Please explain, scenario 1. If we are on Jan 23, I want to start calculate moving avg from DEC-22, i.e always start moving avg from last month (Jan data should not be shown in report ) Present date Today()-1 from measure or in window function not working..
@therainman8703
@therainman8703 Жыл бұрын
Thanks for your help and appreciate you for helping others. I have my devices data in adls gen2 in folders & sub folders . I have made a dashboard for one device by using the data source as adlsendpoint/one device .. how can I provide an option in power bi report, like user can select device id from drop down which automatically changes the data source path adlsendpoint/newdeviceid and refreshes charts One device - one dashboard charts Need option to select new device from report (new device is a new folder in adls ,) is this possible ...please help
@lubomirjagersky7327
@lubomirjagersky7327 Жыл бұрын
Wow! Thanks a lot for your effort. Your videos are awesome, I like your energy that you put into an explanation. I don´t need to speed up your video as many others... You create amazing content, I´m always looking forward for your next video...Really great work
@unnikrishnansanthosh
@unnikrishnansanthosh Жыл бұрын
double kudoz Baz, superb one
@EricaDyson
@EricaDyson Жыл бұрын
Lovely! Thanks so much.
@soumyadeeppattanaik526
@soumyadeeppattanaik526 Жыл бұрын
Nicely Explained...Thanks☺
@sebastienschoonjans9727
@sebastienschoonjans9727 Жыл бұрын
Thanks for the great content !!
@davidtanchon3067
@davidtanchon3067 Жыл бұрын
Hi, I would like to use this function, but it's not reconized by Power bi desktop (version Dec 2022)
@VesBuk28
@VesBuk28 Жыл бұрын
Great examples!
@就已
@就已 Жыл бұрын
this try & error Tempo so good!
@ezekiel0606
@ezekiel0606 Жыл бұрын
amazing content!
@vram11
@vram11 Жыл бұрын
Brilliant.... in short
@jidi10
@jidi10 Жыл бұрын
Getting a "The expression refers to multiple columns" error for the Summarize function. Tried switching away from Dax date table but still has error, any ideas?
@pepper_lab
@pepper_lab Жыл бұрын
Brilliant!!!
@natsarev
@natsarev Жыл бұрын
Didn't quite understood why is it better then calculate + filter? Is it faster or..?
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
seems to be faster (still have to do some checks for myself) .. and I believe it is an attempt to make dax easier (I think more functions will follow)
@justlearnitquick
@justlearnitquick Жыл бұрын
How can we calculate rolling average if windows function was not available in pbi dax ?
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
here you find an example www.sqlbi.com/articles/rolling-12-months-average-in-dax/
@lguzjim
@lguzjim Жыл бұрын
Excellent!
@vijayvizzu1
@vijayvizzu1 Жыл бұрын
Is there any alternate functions available for Window function ?
@jonahjohnbaba
@jonahjohnbaba Жыл бұрын
Please the line chart can you do a video that you use a target to say if you achieve the target the bar is green and if not is red and then the target should recalibrate itself based on the gap yet-to be achieved. Thank you
@martingoedhart2294
@martingoedhart2294 Жыл бұрын
Have yet to experiment with the Windows functions, but I'm afraid that while the intent is to make things easier, it can work confusing to introduce an alternative approach that works different from regular DAX theory. I wonder if they are slowly converting the language in a way that Windows functions become the standard approach or if there will always be multiple methods. The code for moving average is not easier at all compared to a simple; VAR LastDate = MAX(Dates[Date] RETURN CALCULATE([Measure], DATESINPERIOD(Dates[Date], LastDate, -3, MONTH) I'm sure though that there are some benefits that would require few lines of Window function compared to pages of DAX though. Curious to discover them.
@allmazd
@allmazd Жыл бұрын
Thank you Bas for the explanation, it is pretty good as always! I have a question, what was the purpose to add the column month in the relation clause if it is also monthNO column in there and the column month has not been used in anywhere else?
@valentinaverissimo5584
@valentinaverissimo5584 Жыл бұрын
Olá seus vídeos estão sendo mto bacana para o meu desenvolvimento...compartilha a sua paleta de cores...pls
@hussamamal
@hussamamal Жыл бұрын
Awesome video, Bas! Inspiring to see your vids, really. Question: How to use the MA measure to show expected total sales for next month, and then include that forecast in the next next month? You know, as in excel where it's a really simple cell-reference, I've found it quite tricky in DAX.
@sebastienschoonjans9727
@sebastienschoonjans9727 Жыл бұрын
Is there any of you folks which could tell me how i could do this by Item Reference per Date? i do not see how to add my Items with the Calendar Date and ALLselected function
@3danim8r1
@3danim8r1 Жыл бұрын
Thank you for sharing!..
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
😊😎
@magnolita999
@magnolita999 Жыл бұрын
Would you know how to design a report where you see "best man for the job" based on how much experience they had working on projects in the past? You would select various categories or subcategories of projects that would "spit out" the best man for the job?
@spilledgraphics
@spilledgraphics Жыл бұрын
Professor of year: Bas.
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
🤓😄 thanks!
@gokulmurali4481
@gokulmurali4481 Жыл бұрын
Can we find growth rate using the windows functions?
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
you can use the window function to for example return the value of previous month and then divide current value by that -1
@gokulmurali4481
@gokulmurali4481 Жыл бұрын
@@HowtoPowerBI in future can u make a video regarding that
@mcdonaldikisielmeow
@mcdonaldikisielmeow Жыл бұрын
DAX GURU!!!
@changeyourmind-p1n
@changeyourmind-p1n Жыл бұрын
Hey, if possible, please make a video on how to calculate the moving average of last X days where it only calculates days that had transactions. Example: there were transactions in the month of january on days 10, 13, 17, 23. The moving average should only start appearing on the 23rd and should be sales (or whatever measure) of those 4 days divided by 4. Thx in advance
@PSAndPowerBI
@PSAndPowerBI 4 ай бұрын
if bus publish a powerbi book, i'll buy it .for bas is best video series of PowerBI
@switchfire
@switchfire Жыл бұрын
Awesome video! Do you think the Window function is the best way to calculate moving averages? Is it possible to use these averages to 'predict' future values of dates? If I don't have values for future dates in my dataset, could I create them with a measure and incorporate those averages? Sorry for so many questions! 😝
@464jam
@464jam Жыл бұрын
Hi, Nice video once again. Can you make a video to make "Skyline Chart" in Power bi , currently there is no custom visual to make such chart but i believe you can crack and we all learn from you. Thanks.😊
@azharuddinluhar9667
@azharuddinluhar9667 Жыл бұрын
Please show some applications of INDEX() function.
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
Added an example in the download file where i use it to return only the first row in a partition
@datactive859
@datactive859 Жыл бұрын
I used to wrtie a measure of 7-day running average, but now I can use window function. maybe next time I can ask chatgpt to write for me.
@juliom6260
@juliom6260 Жыл бұрын
Thanks Bas
@121balu
@121balu Жыл бұрын
How do we get max value by using window dax
@danishjameel6014
@danishjameel6014 Жыл бұрын
why did we do summarize by?
@HowtoPowerBI
@HowtoPowerBI Жыл бұрын
summarizeby creates a summary table from dimdate (year, month, monthr) .. that flows into the window function which needs a table expression from which the output row is returned.
@sathishkumar-sp3hq
@sathishkumar-sp3hq Жыл бұрын
Hey Bas , long time no videos ... Would love to see something on HTML custom visual to bring in some design ideas.
Add POWER to your Titles in Power BI I The ONE TRICK you need to know
15:16
NEW OFFSET Function in DAX | Will It Change How You Write DAX?
19:22
How to Power BI
Рет қаралды 59 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Perform a lag and lead operation in DAX with OFFSET window function
12:54
DAX REVOLUTION!? Visual Calculations in Power BI
33:15
How to Power BI
Рет қаралды 89 М.
Introducing window functions in DAX
40:58
SQLBI
Рет қаралды 45 М.
The ULTIMATE Slicer Panel in Power BI
36:15
How to Power BI
Рет қаралды 213 М.
Making DAX Easy
20:01
How to Power BI
Рет қаралды 220 М.