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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
HeatherR
Regular Visitor

AVERAGE DAYS IT TAKES OUR USERS TO BILL A FILE PER MONTH

I am trying to determine the average days it takes our employees to bill their files per month.  I have two data queries - the first shows the period billed YYYYMM, the user, it lists the files and then advises the number of days it took to bill the file.  The second query shows the Period and then the Corresponding Date.  My results need to show the average per user per month. 

 

PERIODFILE #USERDAYS
201901432432User A0
201901432433User B9
201901432434User C25
201901432435User A99
201901432436User B34
201901432437User C1
201901432438User A4
201902432439User B9
201902432440User C11
201902432441User A65
201902432442User B20
201902432443User C2
201902432444User A15
201902432445User B19
201902432446User C0
201902432447User A0
201902432448User B22
201902432449User C6
201902432450User A6

 

PeriodMonth
201901Tuesday, January 01, 2019
201902Friday, February 01, 2019
201903Friday, March 01, 2019
201904Monday, April 01, 2019
201905Wednesday, May 01, 2019
201906Saturday, June 01, 2019
201907Monday, July 01, 2019
201908Thursday, August 01, 2019
201909Sunday, September 01, 2019
201910Tuesday, October 01, 2019
201911Friday, November 01, 2019
201912Sunday, December 01, 2019

 

1 ACCEPTED SOLUTION
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @HeatherR 

 

You may set the relationship between the two tables.Then create a measure like below.

Measure = AVERAGE(Table1[DAYS])

Regards,

Cherie

 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @HeatherR 

 

You may set the relationship between the two tables.Then create a measure like below.

Measure = AVERAGE(Table1[DAYS])

Regards,

Cherie

 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.