Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
ckoulis
New Member

How can i get the average per month in a table

Hello all,

 

i have the data below: 

 

IDDate CreatedDate ResolvedDays difference
110/9/202010/10/20201
210/10/202010/12/20202
311/10/202011/11/20201
411/11/202011/13/20202
511/12/202011/15/20203
612/10/202012/14/20204
712/12/202012/13/20201

 

and i would like to get the average per month like below

 

Average per month
Oct-201.50
Nov-202.00
Dec-202.50

 

any suggestions of what needs to be done?

 

thank you in advance.

1 ACCEPTED SOLUTION
nandukrishnavs
Super User
Super User

@ckoulis 

 

First, create a calculated column.

month year = FORMAT('Table'[Date Created],"mmm-YY")

Then write a Measure.

Measure = AVERAGE('Table'[Days difference])

nandukrishnavs_1-1608010964889.png

 

 

 


Regards,
Nandu Krishna

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@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...

great information here @amitchandak thank you

nandukrishnavs
Super User
Super User

@ckoulis 

 

First, create a calculated column.

month year = FORMAT('Table'[Date Created],"mmm-YY")

Then write a Measure.

Measure = AVERAGE('Table'[Days difference])

nandukrishnavs_1-1608010964889.png

 

 

 


Regards,
Nandu Krishna

Thank you that worked.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.