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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
arlequin71
Helper II
Helper II

Create an Attainment Metric using fact tables at distinct granularity level

Hello,

I require to create an attainment metric for sales vs quota applied to the attached simplified model.

The Quota table granularity is at Division Level (nested child) and Sales table has BG level (parent).  I would prefer to approach this using a DAX. I tried to replicate the solution from Budget – DAX Patterns but i haven't had luck yet.

 

The desired result is a table like the attached one, may be using Isinscope to hide values at division level.

 

Could someone give me some tip to solve it ?. Thanks so much in advance.

 

This is the desired result:

arlequin71_0-1621455318862.png

 

This is the Quota Table

 

arlequin71_1-1621454597030.png

 

This is the Quota Table

CountryBGDIVCustomerCDQuota
COLOMBIAAAAAA44586200
COLOMBIAAAABA44586100
COLOMBIAAAACA4458650
COLOMBIAAAADA4458640
COLOMBIAAAAEA44586130
COLOMBIAAAAFA44586220
ECUADORAAAAE2022799200
ECUADORAAABE2022800200
ECUADORAAADE2022801300
ECUADORAAAEE2022802120
ECUADORAAAFE2022803150
BOLIVIABBBGBO98R4505200
BOLIVIABBBHBO98R4506140
BOLIVIABBBIBO98R4507130

 

And this is the Sales Table

 

COUNTRYBGCustomerCDSales
COLOMBIAAAAA44586700
ECUADORAAAEC2022799900
BOLIVIABBBBO98R4505400

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @arlequin71 ,

I created a sample pbix file(see attachment) for you, please check whether that is what you want.

yingyinr_0-1621830573673.png

Best Regards

View solution in original post

2 REPLIES 2
arlequin71
Helper II
Helper II

Excellent, thank you very much.  This is exactly what i requred.

 

 

Anonymous
Not applicable

Hi @arlequin71 ,

I created a sample pbix file(see attachment) for you, please check whether that is what you want.

yingyinr_0-1621830573673.png

Best Regards

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors