PowerBI - allow user to choose a date which will calculate all other dates

Melimob

Active Member
Joined
Oct 16, 2011
Messages
396
Office Version
  1. 365
Hi, I'm not sure how to pose this question hence my google searches have not returned what I need.
I know how I would do it in excel but stuck on how to do in PBI
I need:
  1. user to select a 'CLOSE DATE' from a drop down
  2. I have another *table with 'WAVE's 1 - 10 and duration of each wave e.g. 3.5 /4.5 /5 etc (this is months duration this may be decimal or whole as some need 'x and half months' and some are just full months)
  3. Based on CLOSE DATE selected,
    1. all wave 1's will start 5 months after which should input value to 'START DATE' and add duration which would input value to 'END DATE
    2. all subsequent wave would then do END DATE (+ 1week buffer) = as start date. + duration to enter end date
*this table has a parent bucket so bucket A wave 1 may have a different duration to bucket B wave 1 hence I need to consider this column.
*MON's as start dates // FRI's as end dates (just to add some more complexity ;)

Example:

Close date selected = 1JAN25 + 5months = MON 2 JUN 25...
Buffer = wave 2 onwards would have 1 week buffer to calculate next wave Start dates

BUCKETWAVEDURATION (Months)START DATEEND DATE
A13.5MON 2 JUN 25FRI 12 SEP 25
B14.5MON 2 JUN 25FRI 17 OCT 25
A23.5MON 22 SEP 25FRI 09 JAN 26
B24.5MON 27 OCT 25FRI 13 MAR 26
Any guidance would be appreciated if not, I will do in excel.

thank you!
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
You should load a disconnected date table into the model along with the data table you show above (first 3 columns). By not connecting the 2 tables, they will operate Independently.

Add a slice to the date column of the date table to capture the user selection. You can write DAX to then leverage that input. Eg
Selection = max(calendar[date])
End date = Selection + max(data[duration])*30
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,157
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top