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

% Calculation is not working

Hi All,

 

I have a 2 data sets and which has the relationship with each other.

 

When i try to calculate the formula it works only if i add the column from the dim sheet which i have used for the calculation.

This below is the calculation.

It works fine With the Sales Target-MS with out Sales Target-MS column the formula is wrongly calculating.

Pipeline% FYTDPlan Ach-MS = CALCULATE(DIVIDE(SUM(Sheet1[PipelineFYTD]),SUM('Sales Target-MS'[ Sales Target-MS ])*2))

 

Not sure if there are anything wrong with the calculation. Below is the eg. how it's working.

sales target.jpg

2 REPLIES 2
Icey
Community Support
Community Support

Hi @RanjanThammaiah ,

Is this problem sloved?
If it is sloved, could you kindly accept it as a solution to close this case?  
If not, please let me know.  
 
Best Regards
Icey
Icey
Community Support
Community Support

Hi @RanjanThammaiah ,

If I understand correctly, the relationship between your two tables is ‘Many - to - One’.

I make a sample to explain your question. If you need, you can download it.

There is a ‘Many - to - One’ relationship between ‘Table 1’ and ‘Table 2’ based on ‘Product’. The measures are as follows:

sum of Sales = SUM('Table 1'[Sales])

sum of Stock = SUM('Table 2'[Stock])

Measure = CALCULATE(DIVIDE([sum of Sales],[sum of Stock]))

The relationship of ‘Stock’ and ‘Sales’ is not ‘One - to - One’. If no ‘Stock’ column in ‘visual 1’, ‘sum of Stock’ doesn’t have any filter context. But in ‘visual 2’ and ‘visual 3’, it has. 

% Calculation is not working 3.PNG% Calculation is not working.PNG

If you want to show right results in visual 1, you can create a column instead of a measure.

 

Best Regards,

Icey Zhang

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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