Forum Discussion

Vmonc's avatar
Vmonc
Regular Visitor
2 years ago
Solved

Capturing Dynamic Week-over-Week Sales Changes at Line Item Level

I'm working on creating a report in Power BI that aims to provide a week-over-week comparison of sales values at the sales order-line item level.   My initial approach was to use DAX to compare the...
  • lbendlin's avatar
    2 years ago

    Power BI has no memory. Your data must be stored further upstream.

     

    You could consider using snapshots but that would create larger storage demands.

     

    The better solution is to use CDC or other forms of event tracking.  In your example you would have a change history table that would mark the event of a line item being rejected at a certain date (ideally also stating the reason).  Then you can recalculate the exact status of any order at any point in time, and easily create change charts (Sankey for example).