analysis
3 Topics7 day moving average
I really have zero DAX experience. I even tried to add a column and then enter an Excel formula at first. Of course after digging in a little I realized that it doesn't work that way in this case. I am using direct query from a SQL database. My query data looks like the below table - and I am trying to add the final 7 day moving average column. In short, I need to sum the quantity ordered on each date and then calculate the 7 day moving average on those sums. I would then add that data to the line graph below. What is the best way to go about doing this? In addiiton, is there a particular trainng course I can take to come up to speed?Solved6.7KViews0likes4CommentsForecast Cancellations by Age to chart by year - DAX Measure
I want to write a DAX measure that I can chart to show how many of our customers are likely to cancel over time based on their age. Historically there are key ages when our customers are more likely to cancel. I have two tables: A table showing the PAST customers (FormerClientTable) and their age when they cancelled, and a table showing CURRENT customers and their current age. I know that customers are most likely to cancel at age 24, 30, 65 and 75 and, using my FormerClientTable table I am able to calculate the likelihood of cancellation for any given age. PercentageLikelihood = SUMMARIZE('FormerClientTable','FormerClientTable'[Age At Cancellation],"%",COUNTROWS('FormerClientTable')/COUNTROWS(All('FormerClientTable'))) I can figure out the answer for a SPECIFIC year, but what I want to do is create a measure that will do this for any year that is shown on the X axis of my chart. Does anyone have insight or suggestions about how to do this? ThanksSolved1.3KViews0likes2Comments