Forum Discussion
Incorrect Total in Table
- 5 years ago
Anonymous , make sure you are using sales person from table1 and then check
else try this measure
sumx(summarize(Table1,Table1[Date], Table1[Sales Person], "_1", sum(Table2[Amount]])),[_1])
Guys,
Thanks a lot! I'm trying to add colums from a third table. I tried to use the SUMX function, but didn't work.
Can you help me one more time?
I'm attached a sample of my work in: https://www.dropbox.com/s/rki4vf4jsxgujo6/Karine_Almeida.pbix?dl=0
- Jihwan_Kim5 years agoSuper User
Hi, Anonymous
I do not know what is the logic how to calculate those, but I just tried to simply multiply two values.
Please check the measures down below. If the logic is incorrect, then you can simply change the multiplier to your correct logic.
HS AS Total =SUMX (RELTMS,RELTMS[Hours]* LOOKUPVALUE (Actuals__022021[HS A/S],Actuals__022021[%Chave_RELPRJ], RELTMS[%Chave_RELPRJ]))Sizing Total =SUMX (RELTMS,RELTMS[Hours]* LOOKUPVALUE (Actuals__022021[SIZING],Actuals__022021[%Chave_RELPRJ], RELTMS[%Chave_RELPRJ]))Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.