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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
WobblyDog
New Member

Adding a number of days to a date column using a user selected number

I am looking to calculate an invoice due date by adding a number of days to the invoice issued date. The invoiced date is a date column and I want to be able to allow the user to select a number of days to add based on the customer payment terms.  I would like the user to be able to pick from a list of numbers eg 1 to 90 and have this added to the invoiced date in a new column called due date. 

6 REPLIES 6
Anonymous
Not applicable

Davy thanks for this alredy tried this and it does not resolve. I have an invoice issued date which is a column I then want to add a number of days to give a due/payment date for the invoice. This can be a different number per supplier. Thanks again for taking the time to suggest a solution 

 

WobblyDog
New Member

Thanks I will give that a go and let you know... appreciate the help 

Hi @WobblyDog,

Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.

If these also don't help, please share more detailed information and description to help us clarify your scenario to test.

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
FreemanZ
Super User
Super User

hi @WobblyDog 

Try to
1.Add a slicer with an isolated table Slicer[TermDays]
2.plot a table visual with [OrderNumber] (supposing there is one) , [invoice issued date] columns and a measure like:
due date =
MAX(TableName[invoice issued date])
+
SELECTEDVALUE(Slicer[TermDays])

FreemanZ thanks for your help this however it did not solve my problem. Thanks again and I will keep looking and experimenting 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.

Top Solution Authors