Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
months = DATESBETWEEN(Dim_Reported_Calendarday[DAY];Dim_Incident_Calendarday[First Day of This Month];[currentdate])
is this incorrect for finding days between first day of month and sysdate
can you similarly help for
1. first day of year and current date
2.first day of week and current date
Solved! Go to Solution.
Try DATEDIFF https://msdn.microsoft.com/en-us/query-bi/dax/datediff-function-dax
Current date is either NOW() date-time when workbook opened or TODAY() current date-time
First day of Week - https://community.powerbi.com/t5/Desktop/Week-commencing-in-DAX/td-p/241304
First day of year =DATE(YEAR(TODAY(),1,1)
First day of month = DATE(YEAR(TODAY),MONTH(TODAY(),1)
Days Since First Day of Month = TODAY()-DATE(YEAR(TODAY),MONTH(TODAY(),1)
-or-
Days Since First Day of the Month = DATEDIFF(DATE(YEAR(TODAY),MONTH(TODAY(),1),Today(),DAYS)
The second option is more general and can be used to count hours, days, weeks, quarters or whatever
Try DATEDIFF https://msdn.microsoft.com/en-us/query-bi/dax/datediff-function-dax
Current date is either NOW() date-time when workbook opened or TODAY() current date-time
First day of Week - https://community.powerbi.com/t5/Desktop/Week-commencing-in-DAX/td-p/241304
First day of year =DATE(YEAR(TODAY(),1,1)
First day of month = DATE(YEAR(TODAY),MONTH(TODAY(),1)
Days Since First Day of Month = TODAY()-DATE(YEAR(TODAY),MONTH(TODAY(),1)
-or-
Days Since First Day of the Month = DATEDIFF(DATE(YEAR(TODAY),MONTH(TODAY(),1),Today(),DAYS)
The second option is more general and can be used to count hours, days, weeks, quarters or whatever
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 80 | |
| 63 | |
| 50 | |
| 45 |