Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
The attached image is from the well known and respected Jeffrey Wang (Microsoft Power BI Engineering Manager) .
Why is the use of "DateAdd(), EndOfMonth(), StartOfMonth()" wrong? Why is EOMonth() good and EndOfMonth() bad?
The URL of JW's presentation can be found below:
https://www.dropbox.com/sh/yhop1c7c8sdod5f/AAC0iTm1206-donIgEC3Ry0Ya?dl=0
(Inside Aug 2017 folder)
Solved! Go to Solution.
Hi @Anonymous ,
When we use the DateAdd/EndOfMonth/StartOfMonth function, we need use column inside, but the EOMoth/EDate can accept single datetime value and Today function will only return one value.
So In your scenario, we cannot use DateAdd/EndOfMonth/StartOfMonth function with the Today function.
Best regards,
Hi @Anonymous ,
When we use the DateAdd/EndOfMonth/StartOfMonth function, we need use column inside, but the EOMoth/EDate can accept single datetime value and Today function will only return one value.
So In your scenario, we cannot use DateAdd/EndOfMonth/StartOfMonth function with the Today function.
Best regards,
Hi @Anonymous ,
Believe that the answer is given on the previous slide of the presentation where you have taken out the image:
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsIf you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 44 | |
| 43 | |
| 38 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 64 | |
| 31 | |
| 29 | |
| 24 |