Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
anmarti3
Frequent Visitor

Dynamic Table Calculation Based on User Input

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? 

 

InvoiceDue DateBalanceDays Past Due
10019/5/2019$404
10029/18/2019$8017
10039/26/2019$10025

 

Thanks!

0 REPLIES 0

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.