Posts

Showing posts from January, 2018

DynamicsCon 2025 - Chicago

Image
I am honored to be presenting at DynamicsCon 2025 in Chicago - May 13 - 16.  https://dynamicscon.com/ I have two sessions: On Wednesday, May 14th at 3:45pm - I am co-presenting with Kent Nielsen.  Our topic is Canvas vs. Model-Driven Power Apps. You can find our slides here:  On Thursday, May 15th at 9:45am - I am presenting one of my most popular sessions - Getting started with Power Automate for D365 F&SCM.  Even if you have seen this session before, there is some new info on environment variables, building solutions and storing approval information in D365. You can find my slides here : 

Showing the last 12 months based on a date slicer

Image
When working with financial and sales data, clients often ask for charts showing the last 12 months of data.  This is actually very simple using relative date filtering. In addition, they might ask to compare to the same month last year.  With a simple DAX calculation (SAMEPERIODLASTYEAR) it is possible to add this measure. Here is the formula: Same Month Last Year = CALCULATE(Sum(Sales[SalesAmount]),SAMEPERIODLASTYEAR('Date'[Datekey])) For many users this is all they need.  The chart will update each month and they will always be able to see the last 12 months.   However, this chart will not work with date slicers.   If the client adds a date slicer to the page and selects just one month, the chart will be limited to one month. The reason the chart is limited to one month is because the date dimension relates to the sales fact table and it filters the data for the selected month. Howe...