Posts

Showing posts from January, 2018

The Feature Everyone Loved: Inside the Credit Hold Alert

Image
  The third article in my Finance Agent series In the first two articles, I wrote about building my first finance agent and then splitting one overloaded agent into three focused ones. In this article, I will cover the feature that got the biggest reaction for users. It was not a chat experience. It was a card in Teams. When a sales order went on credit hold in Dynamics 365 Finance. A few moments later, the credit team had a concise summary, a recommendation, and links to investigate. It looked simple . That simplicity took some design to work properly. Quick Video It Starts with a Finance Event The process begins when Dynamics 365 Finance raises the configured credit-hold event. Unfortunately there is not an exposed business event for a sales order being placed on credit hold, so I had to look for another approach. Fortunately, virtual entities provided a good option. The virtual table - Credit Management (mserp_creditmantablebientity) adds a row when a new credit hold is placed. ...

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...