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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi Team ,
Need help on how to calculate how many week will be there in a month. Example Month Septmber need week date like
01/09/2019 ,07/09/2019, 13/09/2019.
Thanks & Regards
Shashank
Solved! Go to Solution.
Hi @Anonymous ,
You could try the formulas below. The measure calculats that how many weeks in the month. If you want to get the fisrt day for per week, you could try the formula of "First day of week".
Week of Month = 1 + WEEKNUM ( 'Table'[Date] ) - WEEKNUM ( STARTOFMONTH ( 'Table'[Date] ) )
Measure = DISTINCTCOUNT('Table'[Week of Month])
First day of week = ('Table'[Date]-WEEKDAY('Table'[Date],1)+1)
Note: "Week of Month" and "First day of week" are calculated columns. I attached my sample that you can have a try.
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
You could try the formulas below. The measure calculats that how many weeks in the month. If you want to get the fisrt day for per week, you could try the formula of "First day of week".
Week of Month = 1 + WEEKNUM ( 'Table'[Date] ) - WEEKNUM ( STARTOFMONTH ( 'Table'[Date] ) )
Measure = DISTINCTCOUNT('Table'[Week of Month])
First day of week = ('Table'[Date]-WEEKDAY('Table'[Date],1)+1)
Note: "Week of Month" and "First day of week" are calculated columns. I attached my sample that you can have a try.
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks working fine
Hello @Anonymous ,
Please find the DAX formula for 3 different measures:
FORMAT(
(Table[DATE]-WEEKDAY(Table[DATE],1)
+1),
"DD-MMM-YY"
)
FORMAT(
(Table[DATE]-WEEKDAY(Table[DATE],1)
+7),
"DD-MMM-YY"
)
Please accept this as a solution so other can make the use of it.
Hi @Anonymous ,
If my answer helped you so please mark it as a solution so other can use it.
Thanks!
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 42 | |
| 30 | |
| 26 | |
| 23 |
| User | Count |
|---|---|
| 132 | |
| 113 | |
| 57 | |
| 39 | |
| 35 |