Cuando tengo duda con una Funcion de DAX el primer lugar que busco es Curbal en KZbin. Encontre justo lo que estaba buscando para calcular Turn Over Rate. You are the BEST!
@chakrabmonoj2 жыл бұрын
Curbal - I love your videos for someone like me, who is starting out on using DAX, these videos are lifesavers. I will have to trouble you with a question though : what is the difference datesbetween and datesinperiod?
@aks5416 жыл бұрын
My bad I can't understand one thing. You went for creating a formula for monthly average and you are going day by day moving average. If I see your video correctly it focus on 8th Jul, 12th July instead of May, June and July month sales data moving average. May I know the reason if you kindly explain?
@mehdiali38912 жыл бұрын
Same doubt
@excelisfun7 жыл бұрын
Thanks for the DatesInPeriod fun : )
@CurbalEN7 жыл бұрын
+ExcelIsFun Nice that you haven't done that one 😂 /Ruth
@mannarmannan653 жыл бұрын
Hi Ruth. Thanks. This works well if I have a date filter chosen for a particular month and year.. But i have a date slicer which is a range. For this the measure is always zero. Can you help please.
@Tanya-og7no3 жыл бұрын
Do we need a date table / calendar as a separate table to implement DatesinPeriod?
@martynepoffpoff Жыл бұрын
Thank you, very helpfull video. I am trying to calculate rolling average of already calculated meassure, but average function does not work neither averagex. Coul you please suggest how to solve it?
@juandavidangell.53123 жыл бұрын
Hello ! Why do you use last date dax to indicate the start date un the fórmula? Very good video
@growwmore12053 жыл бұрын
powerbi file is not available in the download centre. Can you please check.
@nikhargesumit90694 жыл бұрын
Thanks Curbal for this video. In same method can you suggest how to calculate moving average count (example count of Customer ID).
@sandyarani9365 жыл бұрын
Hi Ruth, thank you for your amazing videos, but in this video I can't understand one thing. You went for creating a formula for monthly average and you are going day by day moving average. If I see your video correctly it focus on 8th Jul, 12th July instead of May, June and July month sales data moving average. May I know the reason if you kindly explain?
@Graylinepartners4 жыл бұрын
Very helpful. Thank you for being so comprehensive. I appreciate the granularity.
@CurbalEN4 жыл бұрын
Thanks! /Ruth
@solimar814 жыл бұрын
I see you put in MONTH interval, but in the report, it seems to be taking the daily average?
@YoUzHi907 жыл бұрын
Hi Ruth, would this formula work if i replace Average (Sales) to Distinct count of the dimensions (lets say customer)? I need to see Running 3 months Distinct count by customer. Appreciate if you can help!
@myleshuet79995 жыл бұрын
Good video. I understand the logic but I’m having issues replicating this using COUNTROWS. I want the 1 week and 4 week rolling averages but have yet to get the correct result. I don’t have a particular column to sum, but I need to know the amount of records in a given period.
@kirankumari19857 жыл бұрын
Hi Ruth, It's a really good video! The column I am trying to get average is not the total value of the item. It's a FIFO layer value (each item has multiple layers of value). The average formula only works on a column of a table (not measure). Is there any way I can nest sum column? example : = calculate(average(sum(FIFO_table,[total item value]) DATESINPERIOD(DimDate[Date], LASTDATE(DimDate[Date]),-30, day))
@anjutamang25425 жыл бұрын
my total sales are big and in dollar while yours is small number. do we have to calculate average tot sales separately to do the moving average ? i am using the same data set
@jazzista19677 жыл бұрын
Hi Ruth : Great video..... thanks for the moving average refresher!
@CurbalEN7 жыл бұрын
+jazzista1967 Hi! Thanks! Glad you liked it and happy Friday :) /Ruth
@martinmejia1976 жыл бұрын
Hi Ruth! Another great video... Thanks! My understanding here is that, in the Power BI example you are presenting, you are obtaining the daily moving average for the last 12 months, correct? What about if you want to get the monthly moving average for the last 12 moths based? The daily sales would need to be summed to obtain the monthly total and then get the monthly moving average, right?
@mathijs93657 жыл бұрын
Thanks. Keep the videos coming!
@CurbalEN7 жыл бұрын
+Mathijs Thanks to you for watching :) /Ruth
@kirtivaghela8773 жыл бұрын
Great helpful easy to follow and understand - thank you. I am trying to calculate Bradford factor - please can you advise how to count consecutive days of sickness as single episode. For example if person is off sick from from 5th July 21 to 8th July 21 then this should be = 1 episode and if same person is off sick is 6th Dec 21 to 9 Dec 21 this should equal to 1 episode, so total no of episodes = 2. thanks. I would greatly appreciate help
@peterg41306 жыл бұрын
Would this work with a SUM function instead of AVERAGE? I am not at work right now so I can't check...
@CurbalEN6 жыл бұрын
Sure, it should :) /Ruth
@orxanbabashov7 жыл бұрын
Thanks so much for such informative videos.Your videos are my reference point:))
@CurbalEN7 жыл бұрын
+Orxan Babashov Fantastic! You have no idea how glad that makes me ! Have a great day :) /Ruth
@olcia24673 жыл бұрын
Hi regerarding your video i have a task to calcualte moving average. It works fine when i put it on the chart. But when i filter the data on the chart it does not tak innto accout in calcupations earlier dates so the average is not correct. Canyou help?
@AnoopKumar-rf1zn2 жыл бұрын
Good video. how can we calculate the rolling average of 10 days? when we have data of discontinuous date. It would be great if you make a video on it.
@SmartBimson7 жыл бұрын
Hey Ruth ! Another cool video, thanks so much ... it's always fun for,me to start the Saturday then with redoing what you explained on Dax Friday ;-) 🙋🏼♂️👍🏻🌞 have a Great Weekend 😎🍹🎉💃🏻
@CurbalEN7 жыл бұрын
+SmartBimson You start your saturdays with a Dax Friday video? I might have to move them to Saturdays then 😂 /Ruth
@SmartBimson7 жыл бұрын
Curbal dios mio nooo 😂😂 the routine is: going home and watching dax Friday ... then I think about how and where I can use it for my own projects. On Saturday - since I'm an early bird - I start with a tea and i practice what I saw on Friday . Usually it gives me really good ideas or even make me more curious what else is possible. And every Friday I'm surprised what else is possible actually 👍🏻🙋🏼♂️ so please don't change to dax sabado because my relaxing mood will start toooooo late then 😂😂😉
@CurbalEN7 жыл бұрын
+SmartBimson Ok no DAX sábados then :) /Ruth
@aonline-training6 жыл бұрын
Hi, We need a table, which will have all the dates from Jan 2018 ( and -1 year ) Which would be Jan 2017 - jan 2018 With all the dates and the sales amount next to each date. example: 1-1-17 | 10,000 1-2-17 | 20,000 2-2-17 | 20,000 2-10-17 | 20,000 2-12-17 | 20,000 1-1-18 | 30,000 We used this calInPeriod =Calculate(SUM(FactSales[SalesAmount]],DatesInPeriod(date[fullDate],date(2007,01,01),-1,year) But, does not work Thanks
@CurbalEN6 жыл бұрын
There are a lot of ways on how you could do that depending on your model. You could use DATEADD: curbal.com/blog/glossary/dateadd-dax DATESBETWEEN: curbal.com/blog/glossary/between-dax ... Post in the power bi community for more specific feedback! /Ruth
@automationguide34987 жыл бұрын
Thank You Ruth !!!
@CurbalEN7 жыл бұрын
+Harsha's VBA Guide You welcome! :) /Ruth
@Victor-ol1lo7 жыл бұрын
Great video !!! Thumbs Up !!!
@CurbalEN7 жыл бұрын
+Victor Friesen You welcome! Have a great weekend! /Ruth
@mandarvv4 жыл бұрын
Can we make it parameterized??
@TheDistractionStudio7 жыл бұрын
Thank You Very Much! Can you please make a video to calculate distance between two Zip-codes.
@CurbalEN7 жыл бұрын
+rajan77 Hi Rajan, absolutely, added to my list now :) /Ruth
@leonardofolina67866 жыл бұрын
I want to calculate the total sales last week. How can i do that?.
@MrNillock7 жыл бұрын
as always awesome video. just so you know the survey link does not work for me either... using Chrome i get the following error : {"error":{"code":"generalException","message":"General Exception While Processing"}}
@CurbalEN7 жыл бұрын
+Collin Taylor Mmmmm why is it working for me?? Ok, I will check it out. Thanks for letting me know and happy Friday :) /Ruth
@MrNillock7 жыл бұрын
looks like its linking to your personal OneDrive... did you produce the link with the share option or just copy the link? when clicking share you can mange the access rights for anyone who clicks it. and Happy Friday!!! its my day off today if you want to try again :)
@CurbalEN7 жыл бұрын
+Collin Taylor Share option, but I can produce a new link and see if that works. I am having dinner with some friends tonight so let's try again next week :) /Ruth
@MrNillock7 жыл бұрын
enjoy your dinner :) and happy friday!
@CurbalEN7 жыл бұрын
+Collin Taylor The same and say hi 👋 to your lovely daughter! /Ruth
@bradj2293 жыл бұрын
Thanks Ruth! This was a little confusing (visually), but I understood it after a couple of reviews.
@CurbalEN3 жыл бұрын
Glad it worked at the end :)
@denysss58726 жыл бұрын
Hello! What is faster: Calculate or Aversgex in this case?
@CurbalEN6 жыл бұрын
It depends on your data and model. Create both and measure them in Dax studio to be sure. /Ruth
@feng3625 Жыл бұрын
How about I want to get last 3 months not including current months
@fionamehta73816 жыл бұрын
Many thanks!
@CurbalEN6 жыл бұрын
You welcome :) /Ruth
@deepakverma76363 жыл бұрын
Why you have taken the 'lastdate' as an argument? Can you explain?
@markdawson88767 жыл бұрын
Good session again Ruth , is The demonstration Colin Taylor showed on your live session going to produce a another video as it looked very interesting but as you know it was hard to follow. Have a great weekend :-)
@CurbalEN7 жыл бұрын
+Mark Dawson Hi Mark, Yes, we are going to do a recording next week, so I will publish perhaps on Wednesday.
@CloudhoundCoUk7 жыл бұрын
Really cool. Links do not appear to work as you rightly state probably a browser issue.
@CurbalEN7 жыл бұрын
+Cloud Hound Thanks Christopher, the odd thing is that they work for me...I will check them on Monday :) /Ruth
@williampetit32347 жыл бұрын
Hi Ruth,nice work again,tried your survey link in IE and Chrome but both returned errors... sorry.Great work, really helps me in my work! ps and great fun!!!Will
@CurbalEN7 жыл бұрын
+William Petit so strange! It works perfectly for me...I will create a new Link and try again on the next video. The best way to learn is to have fun so if you are getting both you will become a DAX master in no time :) Have a great weekend! /Ruth
@MarkCBB867 жыл бұрын
Very helpfull, thank you
@CurbalEN7 жыл бұрын
+Mark Blackburn Excellent! Glad you liked it :) Happy Friday :) /Ruth
@nancysapra55557 жыл бұрын
very helpful ma'am... thanks :)
@CurbalEN7 жыл бұрын
+nancy arora Hi Nancy! Excellent! Happy Friday :) /Ruth
@aimantabreez94393 жыл бұрын
Why we use the last date function when we want from the first date to that is from 1996 in this scenario!
@rrrprogram86677 жыл бұрын
Hi.... Nice one ... I didn't knew that bell thing :D
@CurbalEN7 жыл бұрын
+RRR program Yes, quite annoying actually! They changed that without telling people, so we don't get notifications anymore ... /Ruth
@rrrprogram86677 жыл бұрын
Why don't you do one complete real time business intelligence application....... which would cover most of the functions... It will be a great learning for us.
@CurbalEN7 жыл бұрын
+RRR program All my beginners vídeos are like that, have you seen them? I will definitely do more, they just take a lot of time to record and edit and therefore they are not so easy to produce, but I will definitely do more in the autumn :) /Ruth
@stevennye50755 жыл бұрын
excellent
@CurbalEN5 жыл бұрын
Thanks! /Ruth
@mubeenxp85024 жыл бұрын
Good
@lewinmg2 жыл бұрын
i'll be honestl, this video makes absolutely no sense. I'll ignore that fact that you used the "last date" for the "start date". lets just say thats how it works, but you were supposed to be showing a moving average of last 3 months, but you proceeded to show us a moving average of just days. this whole example is in one month (July). how is this a moving average for last 3 months?