Forum Discussion
NadiaHap
3 years agoFrequent Visitor
column sum incorrect
Hello everyone! I'm having a problem with the column sum being calculated incorrectly. I need to find value 2 (J2), formula =1/SUM(G2:G4)/(1+I2)-1 But for this, need to correctly calculat...
- 3 years ago
NadiaHap
3 years agoFrequent Visitor
sorry, because of the format, it was divided by 100 again. I fixed the screenshot.
Link to the Google spreadsheet - https://docs.google.com/spreadsheets/d/1a05fkpmq9-rYZifgMt3i8UaaxDt8lbFa/edit?usp=sharing&ouid=100298040816949354403&rtpof=true&sd=true
MFelix
3 years agoSuper User
Hi NadiaHap ,
I have looked at your file and believe that you need to create the following measures:
Budget without discount =
SUMX ( 'Table', DIVIDE ( [Budget], ( 1 + 'Table'[discount 1] ) ) )value 2 =
VAR temptable =
SUMMARIZE (
'Table',
'Table'[ Month],
'Table'[ budget sum],
'Table'[discount 1],
'Table'[discount 3],
"%BUd", [% Budget]
)
RETURN
SUMX (
temptable,
1
- DIVIDE (
DIVIDE ( [%BUd], ( 'Table'[discount 3] + 1 ) ),
( 1 + 'Table'[discount 1] )
)
)
Final Value =
DIVIDE(DIVIDE(1, [value 2]), (1+ [value 1]) )-1
The other metrics are ok.
See PBIX file attach.