Wishmaster40
New Member
- Joined
- Dec 18, 2023
- Messages
- 12
- Office Version
- 2021
- Platform
- Windows
- MacOS
Dear All,
I previously made a post, for the same issue but in Excel. See the link below:
Validate month based on contract dates & Calculate number of weeks in that month to calculate hours booked per month
Now i would like to achieve the same but in Power Query, from a API i get the following data back.
And i want to create additional columns in Power Query for the number of days per month.
In Excel this was achieve by formula's not created by myself Felix and 2 other persons, and i really appreciate there help a lot!!
Formula1
Formula2
Formula3
How can i convert one of these formula from above into M code for Power Query?
Of course i understand that i have to create a column for Jan/24, Feb/24 etc and most likely hard code each month into the column or somebody her should know a better solution.
Who can help me out with this?
Many thanks!!
I previously made a post, for the same issue but in Excel. See the link below:
Validate month based on contract dates & Calculate number of weeks in that month to calculate hours booked per month
Now i would like to achieve the same but in Power Query, from a API i get the following data back.
And i want to create additional columns in Power Query for the number of days per month.
In Excel this was achieve by formula's not created by myself Felix and 2 other persons, and i really appreciate there help a lot!!
Formula1
Formula2
Formula3
How can i convert one of these formula from above into M code for Power Query?
Of course i understand that i have to create a column for Jan/24, Feb/24 etc and most likely hard code each month into the column or somebody her should know a better solution.
Who can help me out with this?
Many thanks!!