Forum Discussion
Anonymous
4 years agoNot applicable
Customize table totals
Hi! I have a table with manual entry fields and calculated fields based on other fields. The totals are reflecting the field calulation ginving the wrong result. I explained why I need in the bellow...
- 4 years ago
Anonymous
You mean to say that the target is a hard coded calculated column. I'm I right?
then the Income target measure would be
Income target = SUMX ( Projects, ( Projects[Profit target] + 1 ) * Projects[Spendings] )And the profit would be
Profit Target Measure = IF ( HASONEVALUE ( Projects[Project No.] ), VALUES ( Projects[Profit target] ), DIVIDE ( [Income target], SUM ( Projects[Spendings] ) ) )
tamerj1
Community Champion
4 years agoHI Anonymous
You try
Profit Target Measure =
IF (
HASONEVALUE ( Projects[Project No.] ),
VALUES ( Projects[Profit target] ),
DIVIDE ( [Income target], SUM ( Projects[Spendings] ) )
)Income target =
SUMX (
VALUES ( Projects[Project No.] ),
Projects[Profit target] * Projects[Spendings]
)Anonymous
4 years agoNot applicable
thanks for you help. I actually moved the hardcoded in columns to measure, but i figured out how to customize your proposal.
Thanks again fo you help.