- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Calculate Ageing Days dynamically
Hi,
There is one requirement that I need to provide Date as input date in the report. On the basis of that input date I need to calculate the age of my pending invoice. Everywhere I am getting to calculate Ageing days from today but not with the input date. Could you please help.
Ageing Days calculation from today can be handled in datamodel, but getting date as input is not possible nto hable in datamodel.
Regards
Supriyo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Anonymous
You can use the What-IF parameter for getting the Day, Month and Year. Then You can calculate the Date using DATE().
InputDate = DATE('Year'[Year Value],'Month'[Month Value],'Day'[Day Value])
Once you have the date, you can easily create a measure for calculating the Aging.
Did I answer your question? Mark my post as a solution!
Appreciate with a kudos 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI @Anonymous,
You can use date field on slice with range mode(before, after, between), it allows you to click on the textbox to input date value.
Regards,
Xiaoxin Sheng
If this post helps, please consider accept as solution to help other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Anonymous
You can use the What-IF parameter for getting the Day, Month and Year. Then You can calculate the Date using DATE().
InputDate = DATE('Year'[Year Value],'Month'[Month Value],'Day'[Day Value])
Once you have the date, you can easily create a measure for calculating the Aging.
Did I answer your question? Mark my post as a solution!
Appreciate with a kudos 🙂

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
08-06-2024 10:44 PM | |||
08-20-2024 09:13 AM | |||
04-26-2024 01:11 PM | |||
03-26-2021 06:08 AM | |||
03-15-2023 11:07 PM |
User | Count |
---|---|
12 | |
2 | |
2 | |
2 | |
2 |