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
101
Regular Visitor

DAX- Calculating Average

Club NameAgreement NumberProfit CenterPayment Amount
Club Daisy1231Dues15.99
Club Lily8952Annual49.99
Club Marigold4582Processing Fee1.99
Club Orchid8962Dues15.99
Club Rose4562Annual49.99
Club Daisy7862Processing Fee1.99
Club Lily3252Dues15.99
Club Marigold4562Dues15.99
Club Orchid8232Annual49.99
Club Rose1232Processing Fee1.99
Club Daisy8342Dues15.99
Club Lily2312Dues15.99
Club Marigold4252Dues15.99

Here, I want to create a measure that calculates the Average Dues. 
For example: Here we have 7 Members that have Profit Center as Dues. 
Now, If I calculate Average Dues for Just Club Daisy. It would be Average Dues = Payment Amount (15.99 +15.99) /2 (There are 2 members in Club Daisy that has Dues). Now the Average Dues would be 31.98/2, which is $15.99. So, the Average Dues for Club Daisy is $15.99. 
In same way, I want to calculate Average dues for all the other clubs and create a matrix visualization that displays club names and their average dues. 
Thank you. 

1 REPLY 1
lbendlin
Super User
Super User

You don't need DAX or a matrix for that

 

lbendlin_0-1695757066225.png

 

 

Maybe adjust your sample data a bit to make it more interesting?

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