Forum Discussion
Time Intelligence using Measure which returns a Date
Dear all,
I created a measure that returns a date (Waiting Period Ends); I need to generate another measure that returns the start of the following month respecting Waiting Period Ends.
FelipeScheihing Try:
Measure = VAR __EOM = EOMONTH([Waiting Period Ends],1) VAR __Result = DATE(YEAR(__EOM), MONTH(__EOM), 1) RETURN __ResultAlso, time intelligence functions are evil. You may find this helpful - https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000
Also:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TITHW/m-p/434008
2 Replies
- Greg_DecklerCommunity Champion
FelipeScheihing Try:
Measure = VAR __EOM = EOMONTH([Waiting Period Ends],1) VAR __Result = DATE(YEAR(__EOM), MONTH(__EOM), 1) RETURN __ResultAlso, time intelligence functions are evil. You may find this helpful - https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000
Also:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TITHW/m-p/434008- FelipeScheihingFrequent Visitor
@Greg_Deckler, thank you so much! it worked perfectly! I will check the material you shared.