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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Davy_MS
New Member

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.