Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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.
@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 🙂
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
@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 🙂
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
7 | |
2 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |