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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
DoreBotha
Regular Visitor

Top 10 values for matrix with measure as value

Hi

 

I'm a fairly new user.

 

I am trying to show the Top 10 sites, based on the average month-on-month growth, in a matrix visual. I have sites as the rows, month as the column and a measure calculating the month on month growth as the values.

 

DoreBotha_4-1666262151856.png

The DAX for my measure is:

% MoM Diff =
    DIVIDE(SUM('Raw Data'[Sales QuantityBase Unit]) - CALCULATE(SUM('Raw Data'[Sales QuantityBase Unit]),PREVIOUSMONTH('Raw Data'[Month])),
        CALCULATE(SUM('Raw Data'[Sales QuantityBase Unit]),PREVIOUSMONTH('Raw Data'[Month])))
 

If I use the raw sales (Sales QuantityBase Unit) as the values, not the month-on-month measure, I can use the filters for the visual to show the top 10 like below

DoreBotha_2-1666261740487.png

However, the option to choose sum/average/min etc. is not available if I use the measure as the values. When I apply the filter as is

DoreBotha_3-1666262013707.png

is just shows a blank matrix.

 
What is the easiest way to fix this?
 
Thanks!
2 REPLIES 2
amitchandak
Super User
Super User

@DoreBotha , Based on what I got.

Best to use a measure or it will take the default Aggregation of the column.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak 

 

Thanks for your reply!

 

How do I then use the measure to get the Top 10?

 

The problem is it doens't give me the option on the filters pane.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors