Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
94 | |
77 | |
65 | |
53 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |