Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Good Evening,
I am a little bit perplexed. For some months of my data the STARTOFMONTH function works as expected, but for April 2018 it doesn't seem to work.
When I export the data to an excel file and re-create the powerbi file it works as expected. I have attached an example of the trouble pdf.
On the 'testerpage' of the attached file, I have two tables demonstrating the 'date', 'close' value as well as my measure [Close1DayStartofMonth].
If anybody could work out why the April 2018 month is empty despite data being present I would be incredibly grateful.
Onedrive Link: https://1drv.ms/u/s!At8Q-ZbRnAj8iGlR9bVq31bsd2fS
Hi @ElliotP
STARTOFMONTH Function (DAX) returns the first date of the month in the current context for the specified column of dates. You may try to check the relationships for your data. If it is not your case, It’s better to show us a simplified data sample.
Regards,
Cherie
Evening,
Thanks for the quick response.
I checked the relationships and I wasn't able to find any issue/configuration which resolved the issue.
It's quite unusual wherein I cannot recreate the issue with an excel directly downloaded form the same database as well as the issue only occurs in April it seems. The function works for other months.
I can't produce a simplified data sample as such because I can't recreate the data that way. I would be happy to PM someone credentials to use to work with the SQL datasource if anybody is interested.
Check out the April 2026 Power BI update to learn about new features.
If 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 |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 65 | |
| 31 | |
| 26 | |
| 26 |