Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I need some M code in order to calculate the number of weeks between to dates, someone could help me how can I handle this issue, also I was able to handle this using DAX but, I need to calculate the total weeks on Power Query side
Thanks
Solved! Go to Solution.
Refer
like
=each Duration.Days([StartDay] - [endday])/7
Perhaps try Date.WeekOfYear([END DAY] - Date.WeekOfYear([START DAY]) + 1
Perhaps try Date.WeekOfYear([END DAY] - Date.WeekOfYear([START DAY]) + 1
Refer
like
=each Duration.Days([StartDay] - [endday])/7
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
111 | |
96 | |
89 | |
38 | |
28 |