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! Request now

Reply
FarzadK
Regular Visitor

Dividing a value in a Matrix by a value in a different table to get the percentage

Hello Folks,

 

I created a Matix that counts the number of Tiers by Area by Month. lets say I have 3 types of Tiers, 14 Areas, 6 Months worth of data, and thousands of accounts with those information in a table. So my table has 14 rows for 14 areas, 6 columns for 6 months, and the values are the count of Tiers of those accounts for each area in each month.

 

now I want to divide those values (Count of Tiers) by another number in a different table to get a percentage. this table has the number of total accounts within each area which comes from a different source (I can't get the total by adding the accounts in the first table). these 2 tables has a one to many relationship connecting to each other by the Area.

 

I created a measure ( Measure =  COUNT(Query1[Tier])/SUM(Sheet1[Number of Account]) but unfortunately I get a wrong answer!

 

Ideally I want to have a table that I can put Areas in rows, Months in columns and my calculated measure in Values that shows the correct percentage.

 

Could you help me write this measure?  

1 REPLY 1
Anonymous
Not applicable

@FarzadK,

Could you please share dummy data of your tables and post expected result here?

Regards,
Lydia

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