This has been a bit of a trial.
I have a slicer to give me the date of the end of the month on the report
The user can select the end of the month from the slicer
Then I need to look at the fact Table and work out for each row the number of days between the invoice date (on the fact table) and the end of month from the slicer. This Provides me with a measure NumberOfDays on The fact Table
Then I can create a Measure AgeBand on the fact table that is a measure that create bands of 5 days based on NumberOfDays.
Now the problem comes when I want to present this in a chart.
- The doughnut chart (everyone loves a doughnut) does not allow a measure to be used on the legend.
- As NumberOfDays and AgeBand are dynamic when you look at them at a total level the calculation gets a little weird.
This is different from most Aging Buckets / banding reports I have seen as they are normally static and the calculation can be done in a calculated column on the fact table rather than a measure.
Any suggestions for this I will try and replicate in a small report and publish.
Thanks
E