The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Solved! Go to Solution.
@FelipeScheihing Try:
Measure =
VAR __EOM = EOMONTH([Waiting Period Ends],1)
VAR __Result = DATE(YEAR(__EOM), MONTH(__EOM), 1)
RETURN
__Result
Also, 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-TIT...
@FelipeScheihing Try:
Measure =
VAR __EOM = EOMONTH([Waiting Period Ends],1)
VAR __Result = DATE(YEAR(__EOM), MONTH(__EOM), 1)
RETURN
__Result
Also, 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-TIT...
@Greg_Deckler, thank you so much! it worked perfectly! I will check the material you shared.
User | Count |
---|---|
11 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
22 | |
14 | |
14 | |
9 | |
7 |