Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
I'm struggling with this question for several weeks. Maybe someone has done that and will have some tips for me.
I want to calculate how many overdue receivables was on a particular date.
For this I have to evaluate:
I tried to calculate three measures:
How much days document are overdue:
PastDue = DATEDIFF(FIRSTDATE('Customer Ledger Entry'[Due date]); MAX('Calendar'[Date]);DAY)
Calculated column for how much receivable document has:
Receivable, EUR = CALCULATE(SUM('Detailed Customer Ledger Entry'[Amount (LCY)]); FILTER('Detailed Customer Ledger Entry';'Detailed Customer Ledger Entry'[KEY1]='Customer Ledger Entry'[KEY1]))
And tried to calculate how many overdue receivables are for particular date:
OverDue Receivable = SUMX( FILTER('Customer Ledger Entry'; [PastDue]>0);[Receivable, EUR])
But it returns blank, I think it's because PastDue is calculated not row-wise
Maybe you have some tips on how can I solve this question?
PBIX example:
https://drive.google.com/file/d/16gb8jRmd-Fb9OicHUvhZfwkN3k8a1X-Y/view?usp=sharing
@Anonymous ,
Create a calculate column [PastDue Column] in table 'Custom legder Entry' instead if measure. Then in table 'Calendar', modify the measure [OverDue Receivable] using DAX as below:
OverDue Receivable = SUMX( FILTER(ALL('Customer Ledger Entry'), [PastDue Column]>0),[Receivable, EUR])
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks, @v-yuta-msft for your support, but it's not quite what I needed.
I need to calculate overdue receivable for particular documents and month.
And it should be document row dynamic calculations.
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
114 | |
91 | |
88 | |
35 | |
35 |
User | Count |
---|---|
153 | |
99 | |
82 | |
63 | |
54 |