Forum Discussion
Determine if date is between 2 dates
- 9 years ago
Hi john_hqi,
I tested mmace1's idea. It works. Please have a try.
1. Create a table "Quarters".
2. Add a calculated column:
Column = CALCULATE ( VALUES ( Quarters[Value] ), FILTER ( 'Quarters', 'Quarters'[Start] <= EARLIER ( 'Calendar'[Date] ) && 'Quarters'[End] >= EARLIER ( 'Calendar'[Date] ) ) )3. If more quarters neeed, we can add to table "Quarters".
Best Regards!
Dale
Hi john_hqi,
I tested mmace1's idea. It works. Please have a try.
1. Create a table "Quarters".
2. Add a calculated column:
Column =
CALCULATE (
VALUES ( Quarters[Value] ),
FILTER (
'Quarters',
'Quarters'[Start] <= EARLIER ( 'Calendar'[Date] )
&& 'Quarters'[End] >= EARLIER ( 'Calendar'[Date] )
)
)3. If more quarters neeed, we can add to table "Quarters".
Best Regards!
Dale
Hi v-jiascu-msft,
I have bit simillar requirment. I have to calucalte quaterly sales perfromance of the companey. But My boss want quarter should start from first monday of the quarter. rang is like that.
- v-jiascu-msft8 years ago
Microsoft Employee
Hi Anonymous,
Please open a new thread. One thread one topic and this thread has been closed. Thanks for your understanding.
Best Regards,
Dale