Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi all,
I have a scenario where I need to have a column (or measure?) that calculates a DateDiff between an invoice due date and date input by a user to determine how many days past due is an invoice related to that user key date. For example given the sample data and a user keys in date 9/1/2019 they would get the Days Past Due column highlighted in red below. The Issue here is getting that key date to be used within the dashboard to interact with that table dynamically to deliver the results below. Any thoughts?
| Invoice | Due Date | Balance | Days Past Due |
| 1001 | 9/5/2019 | $40 | 4 |
| 1002 | 9/18/2019 | $80 | 17 |
| 1003 | 9/26/2019 | $100 | 25 |
Thanks!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |