Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello ,
I Have receivalbles aging to do , i have made measures for the days still not yet received , now i am trying to make aging 30 - 90 - 180 - 360 - 720 etc ... for it as from the days shown , when i am trying the dax : Max is not accepting saying : The MAX function only accepts a column reference as the argument number 1.
Invoices : is a measure of the total invoices
Balance is: Invoices - Payments
FORMULA FOR DAYS ( WORKING ) :
Formula FOR AGING ( NOT WORKING ) :
Thank you for your usual help ,
Attached Sample
Solved! Go to Solution.
@bhelou , If it is column
calculate([Receivable Balance], filter(Table,Table[Receivable Days]<=30))
In case it is a measure
IF(([Receivable Days]) <=30,[Receivable Balance],BLANK())
@bhelou , Create like
Receivable Days = IF([Status] = "Paid" , 0 , datediff( [Invoice Date],TODAY(), day))
This File may help you!
Proud to be a Super User!
@bhelou , If it is column
calculate([Receivable Balance], filter(Table,Table[Receivable Days]<=30))
In case it is a measure
IF(([Receivable Days]) <=30,[Receivable Balance],BLANK())
I KNOW i have tried it , it wont work and even if i wirte it as simple to test it out :
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |