Forum Discussion
Calculate Percentage from 2 different tables
- 11 months ago
Hi,
I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
Compliance %: = DIVIDE( SUM(coaching_session[session]), SUM(personnel_present[present]) )
Hi,
I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
Compliance %: =
DIVIDE( SUM(coaching_session[session]), SUM(personnel_present[present]) )
- PHEstaciMa111 months ago
Helper II
thanks jihwan, it worked... I somehow got the relationship wrong
- v-sgandrathi11 months ago
Community Support
Hi PHEstaciMa1,
Thank you for confirming, and we’re glad to hear that the solution provided by Jihwan_Kim worked for you. Thank you so much for your answer.
The issue was indeed related to the relationship setup in your model, and once corrected, the calculation returned the expected results.If you encounter any further challenges, please feel free to open a new discussion in the forum.
Thank you.