This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Please, I'm working on this data to measure the impact of hosting paralympics on the host countries. But the measure I created to calculate the medals won before and after hosting are not returning correct results. The grand total in both prehosting and posthosting columns add up to the total medal won. While the prehosting is < hostYear the posthosting is > host year. What could be the problem?
Hi @beingEniola ,
When I reviewed posts and I found that this post didn't seem to be solved yet.
If possible, please provide some dummy data and expected result, thanks.
It would be better that you provide us with more details about this issue.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I don't fully understand the description, however, the measure is not going to return the number you want because the variable 'totalmedal' is being passed in first. Once a variable is assigned it doesn't change value.
I think you want to use the SUM(......) in the calculate line instead of the variable.
--
That might get you what you want or not (but it will be better than the existing)
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 25 | |
| 24 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 47 | |
| 27 | |
| 24 | |
| 19 |