Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello all,
i have the data below:
ID | Date Created | Date Resolved | Days difference |
1 | 10/9/2020 | 10/10/2020 | 1 |
2 | 10/10/2020 | 10/12/2020 | 2 |
3 | 11/10/2020 | 11/11/2020 | 1 |
4 | 11/11/2020 | 11/13/2020 | 2 |
5 | 11/12/2020 | 11/15/2020 | 3 |
6 | 12/10/2020 | 12/14/2020 | 4 |
7 | 12/12/2020 | 12/13/2020 | 1 |
and i would like to get the average per month like below
Average per month | |
Oct-20 | 1.50 |
Nov-20 | 2.00 |
Dec-20 | 2.50 |
any suggestions of what needs to be done?
thank you in advance.
Solved! Go to Solution.
First, create a calculated column.
month year = FORMAT('Table'[Date Created],"mmm-YY")
Then write a Measure.
Measure = AVERAGE('Table'[Days difference])
@ckoulis , Create a date table. Join it with date created and have month year in there and then take Avergae measure.
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.
or refer if this blog can help
#POWERBI: 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...
First, create a calculated column.
month year = FORMAT('Table'[Date Created],"mmm-YY")
Then write a Measure.
Measure = AVERAGE('Table'[Days difference])
Thank you that worked.
User | Count |
---|---|
139 | |
113 | |
103 | |
77 | |
63 |
User | Count |
---|---|
135 | |
126 | |
110 | |
70 | |
61 |