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
SHOOKANSON
Advocate I
Advocate I

Average of Combined Measure

I think this will be an easy one for somebody! I have a table with two entries for every day. Each entry is a numeric value, one "label a", the other "label b" - see below.

 

DateLabelAmount
2/15/22label a1200
2/15/22label b500
2/16/22

label a

1330
2/16/22label b450

 

I am currently getting the quarterly averages for each label, but need the combined average. Any way I create this measure, I am getting the combined average of all rows. 

I am getting: (1200+500+1330+400)/4

I want: ((1200+500)+(1330+400))/2

Easy way to accomplish this?

 

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@SHOOKANSON 

Try this.

Average = DIVIDE ( SUM ('Table'[Amount] ) , DISTINCTCOUNT ('Table'[Label] ) )

View solution in original post

1 REPLY 1
jdbuchanan71
Super User
Super User

@SHOOKANSON 

Try this.

Average = DIVIDE ( SUM ('Table'[Amount] ) , DISTINCTCOUNT ('Table'[Label] ) )

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.

Jan NL Carousel

Fabric Community Update - January 2025

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