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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Gheb_Gabriela
Frequent Visitor

DAX AVERAGE MEASURE

Hi all,

I need some help to create an Average Dax Measure. I have this example, where every single raw has a sum, which is fine, because that's why I want to measure for each raw, but for the total I need the Average of all Sums. I've tried already AverageX, DistinctCount, but it appears that i am not close enough to find a solution.

Gheb_Gabriela_0-1659362612324.png

To calculate the sums, I have already applied a quick measure where I've used the measure below. This quick measure it's good for me because all the sums are correct and I need them, but I can't figure out how can i do the avearge only for totals.

 

Gheb_Gabriela_1-1659362744648.png

Thanks in advance.

 

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Gheb_Gabriela , You measure like

 

AverageX(values(Date[Qtr Year]), calculate(Count(Table[Column]) ) )

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Gheb_Gabriela , You measure like

 

AverageX(values(Date[Qtr Year]), calculate(Count(Table[Column]) ) )

Great @amitchandak thanks a lot! It's working.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors