Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I am currently facing an issue where my values don't add up as expected. I have a table with different ratio's per country, called Verhoudingsgetallen. Let's say:
Country | SolarVerhouding |
US | 0,00194 |
NZ | 0,02944 |
DE | 0,03948 |
NL | 0,04854 |
The measure I use is as following:
Solved! Go to Solution.
Try
DemandSolars =
SUMX (
VALUES ( 'Table'[Country] ),
VAR SolarVerhouding_ =
CALCULATE(MAX ( Verhoudingsgetallen[SolarVerhouding] ))
VAR SensorForecast_ =
CALCULATE(SUM ( 'Salesforce budgetForecasts'[Forecast__c] ))
RETURN
SolarVerhouding_ * SensorForecast_
)
Try
DemandSolars =
SUMX (
VALUES ( 'Table'[Country] ),
VAR SolarVerhouding_ =
CALCULATE(MAX ( Verhoudingsgetallen[SolarVerhouding] ))
VAR SensorForecast_ =
CALCULATE(SUM ( 'Salesforce budgetForecasts'[Forecast__c] ))
RETURN
SolarVerhouding_ * SensorForecast_
)
Hi John,
Thanks for your quick reply. I've tried this, but now I get a really big number as my total. So I don't think this is the solution.
I've updated my original post to force context transition, should be OK now I think
Thanks a lot. It works!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
14 | |
13 | |
11 | |
9 | |
8 |