Forum Discussion
SUMIFS Problem
- 8 years ago
Hi BachFel
You can use this calculated column in Table 1 i.e. KontElement
Assuming 2 tables are related on column CSAuftrag
= CALCULATE ( SUM ( Table2[Leistung] ) )
- 8 years ago
Hi BachFel
Looks good to me. May be I am missing something
Could you show what you are getting and what you expect?
- 8 years ago
Hi BachFel
Try this
WorkingTime_Jan = CALCULATE ( SUM ( LN[ArbeitszeitInH] ), FILTER ( VALUES ( LN[Dates] ), MONTH ( LN[Dates] ) = 1 && YEAR ( LN[Dates] ) = 2018 ) )
Hi BachFel
You can use this calculated column in Table 1 i.e. KontElement
Assuming 2 tables are related on column CSAuftrag
= CALCULATE ( SUM ( Table2[Leistung] ) )
- BachFel8 years agoHelper II
the two table are related. They are related on column KontElementID, which is also good?
But the calculated numbers are wrong..
I created following calculated column:
IstLeistung = Calculate ( Sum (LN[ArbeitszeitInH])
- Zubair_Muhammad8 years agoCommunity Champion
Hi BachFel
Looks good to me. May be I am missing something
Could you show what you are getting and what you expect?
- BachFel8 years agoHelper II
there is another task:
WorkingTime_Jan = Calculate ( Sum (LN[ArbeitszeitInH]))
There is a column with dates in the table "LN". How can I improve the formula above to get only the operations of january 2018?
The format of the dates is: dd.mm.yyyy