Forum Discussion

Raul's avatar
Raul
Post Patron
8 years ago

Strange measure

Hello,

I have this table:

 

The image shows 3 rows of the 12 total rows.

 

where [Concepte FAC] and [Cost] are two fields of a table (Table1) and TempCOST and TempFACTU are two measures:

TempCOST = CALCULATE(Table1[Cost];Table1[Tipus]="A";ALL(Table1[Concepte FAC])) -> It's CORRECT in the table

TempFACTU = CALCULATE(Table1[Amount];Table1[Tipus]="A";ALL(Table1[Concepte FAC])) -> It's WRONG in the table, but the total of the column it's correct.

 

I need that the column TempFACTU show the same value for each row with the total of the column, that is 2.880,19, like shows the column TempCOST. What is wrong in the formula of the measure?

 

Thank you very much.

2 Replies