Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Hi @RanjanThammaiah ,
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.
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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 48 | |
| 42 |