Forum Discussion
Total value for all rows
Please give us some sample data of your Table1.
Best regards
Here you are:
| DATE | CODAREA | COL | CONCEPTE | COST | FACT | CONCEPTE FAC |
| 11/05/2017 | A1 | AM | 10,00 | AM | ||
| 24/06/2017 | A1 | EC | 5,00 | EC | ||
| 05/07/2017 | A2 | AM | 12,00 | AM | ||
| 06/07/2017 | A3 | JS | 11,00 | JS | ||
| 01/01/2017 | A1 | MP | 25,00 | MP | ||
| 28/02/2017 | A2 | MR | 13,00 | MR | ||
| 15/03/2017 | A1 | LA01 | 200,00 | LA01 | ||
| 20/08/2017 | A1 | RC | 14,00 | RC | ||
| 11/05/2017 | A2 | MP | 25,00 | MP | ||
| 11/04/2017 | A2 | EC | 32,00 | EC | ||
| 10/02/2017 | A3 | AM | 44,00 | AM | ||
| 04/01/2017 | A3 | LA01 | 360,00 | LA01 | ||
| 31/03/2017 | A1 | LA02 | 175,00 | LA02 | ||
| 20/06/2017 | A2 | JS | 27,00 | JS |
And the Areas table:
| CODAREA | AREA |
| A1 | Area1 |
| A2 | Area2 |
| A3 | Area3 |
Thank you.
- Floriankx8 years agoSolution Sage
Hello, I guess CONCEPTE FAC is a calculated column.
If it is any if statement maybe try
CONCATENATE([COL],[CONCEPTE]) instead.
Best regards
- Pavlous8 years agoAdvocate II
Yes, in this case it could be the issue in Axis value. Try to make Table only with Raw attributes and the measure during the date. It should give you the result. The formulas are perfectly OK.
- Raul8 years agoPost Patron
Hi, Pavlous and Floriankx and thank you very much for your comments.
Really, Concepte FAC it's not a calculated column, it's a field in the table. The Table1 is the result to Append two tables (TableA and TableB) with this fields:
TableA (Date, CodArea, Col, Cost)
TableB (Date, CodArea, Col, Concepte, Fact, ConcepteFac) where Concepte Fac it's a calculated column: IF(Concepte<>"", Concepte, Col)
The result Table1 it's (Date, CodArea, Col, Concepte, Cost, Fact, Concepte Fac). I try to change the calculated column by the concatenate formula and I explain how it has gone.
Thanks.
- Pavlous8 years agoAdvocate II
Hi,
it would be heplfull if you show us what is your result at that moment. So we can think what you are doing wrong :)
- Raul8 years agoPost Patron
Hi,
This is the result:
And this are the measures:
TempCOST = CALCULATE(SUM(Table1[Cost]);ALL(Table1[Concepte FAC]))
TempFACT = CALCULATE(SUM(Table1[Fact]);ALL(Table1[Concepte FAC]))
Regards.