Forum Discussion
Cocrodile
Helper I
4 years agoData forecast
The formulas I used : ---------------------------------------------- A-B = sum(TABLE[A])-sum(TABLE[B]) ------------------...
Cocrodile
Helper I
4 years agoI expect V5
v-zhangti
Community Support
4 years agoHi, Cocrodile
You can try the following methods.
Measure =
Var _AB=SUM('Table'[A])-SUM('Table'[B])
Var V2=CALCULATE(SUM('Table'[C]),FILTER(ALL('Table'),[Key]=14))
Var V3=IF(SELECTEDVALUE('Table'[C])=BLANK()&&V2<>BLANK(),V2+_AB,SUM('Table'[C]))
Var V4=IF(SUM('Table'[Key])=15,V3)
Var V5=IF(SELECTEDVALUE('Table'[C])=BLANK(),V4,SUM('Table'[C]))
return
V5
Is this the result you expect? A formula to calculate V5.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Cocrodile4 years ago
Helper I
I am looking for a way to calculate all the data up to the end of the year