Forum Discussion
Anonymous
6 years agoNot applicable
Percent of Month Based on Custom Week Ranges
Hello, I have a data table that uses pre-determined weeks to create invoice totals. For example, Week 1 of January is Jan 1.-Jan 6. Week 2 is Jan6.-Jan13th etc. I need to create a measure (using ...
Anonymous
6 years agoNot applicable
I was trying to avoid that solution as I have no way of finding the start and end date for each week. Although week 1 runs from Jan 1. -Jan 5. that doesn't mean that we received invoices every day in that range. In my case I only have invoices on the 3rd of January making that a bad method to find the start/end date.
v-lili6-msft
6 years agoCommunity Support
hi Anonymous
For your case, you must define the dim date in advance, for example:
| Week | Start Date | End Date |
Then use this to calculate the Dayrange.
Regards,
Lin