Hello All!
I am trying to calculate days in each month from a start date and End date that spans over 2 or 3 months. I can get the dates correct for each project just by calculating the difference between dates but i am not able to look at how many days are in each month graphically. Is there a way to add a colum or measure to show how many days are in each month or is there a way to graph how many days are in each month when it is 2 or 3 different months?
Thank you All!
Pbreslin
Solved! Go to Solution.
@pbreslin24 , I made a similar attempt in past, see if the attached pbix can help
or this blog
How to divide/distribute values between start date or end date or count days across months/days: https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-o...
@pbreslin24 , I made a similar attempt in past, see if the attached pbix can help
or this blog
How to divide/distribute values between start date or end date or count days across months/days: https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-o...
Edited: I believe i have it working now. My mistake was trying to use my own date selection to look at a table with the new measure. I needed to use the new table created and its working. Checked Manually for a few months and its good. Thank you for the help!!
Previous:
(Thank you for the reply. When i use this method it still adds the total value into whatever month the Data(startdate) is in. It did not divide the dates into each month. Below is my typed out measure. It is calculating the value correctly for total days between 2 dates. Am i missing part?
User | Count |
---|---|
98 | |
32 | |
29 | |
18 | |
15 |
User | Count |
---|---|
103 | |
27 | |
21 | |
20 | |
17 |