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.
Hi Good Day,
How do I count the number of weeks in a month & concatenate it in the month name?
or you do it in Power Query Editor like:
it worked like:
hi @jchangco
try to add a column like:
MonthWeek = FORMAT([Date], "MMM")&" - "&" Week "&(1 + WEEKNUM([Date]) - WEEKNUM(EOMONTH( [Date],-1 )))
it worked like:
User | Count |
---|---|
10 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
22 | |
14 | |
14 | |
9 | |
7 |