Forum Discussion
Calculate open credit; avoid blank values
- 3 years ago
Hi,
What do you mean by selected date? Is that a date that you will select in the slicer. If yes, then which date field in your table should it be related to? - Invoice date, due date or payment date?
- Petanek3333 years agoHelper III
Hi Ashish_Mathur ,
selected date is every single date in a calendar table. I would like to have a table (and a stacked area chart) that would show the value of open credit (ideally composed of differentiated due and overdue receivables) for every day. In my model the calendar table is 365 days ending today (24.11.2022 to 24.11.2022).
In theory, it should be related to all of the three mentioned dates.
If the selected date falls in the interval between invoice date and payment date (or the payment day is blank) it is open credit. If the selected date is past the due date, it is "past due open credit", if the selected date is before the due date, it is "before due open credit".