Forum Discussion
JPQ
7 years agoFrequent Visitor
Two Cumulative Totals in the same graph
Hi, After a lot of reading, i´m still managing a problem inserting two measures for cumulative totals in the same graph. I have a table with two date columns (Dta.CONF, Liberacao Real) both rela...
- 7 years ago
Hi JPQ,
Your formulas should work though the result could be wrong. Please try this formula instead and the demo in the attachment.
Liberado Acumulado new = CALCULATE ( SUM ( 'IW39 Filtrada'[Custos tot.plan] ), FILTER ( ALLSELECTED ( 'Datas'[Date] ), 'Datas'[Date] <= MAX ( 'Datas'[Date] ) ), USERELATIONSHIP ( Datas[Date], 'IW39 Filtrada'[Liberação real] ) )Best Regards,
Dale - 7 years ago
Thx for the tip!
I finally works. The only thing is that it projets the upcoming months.
Thx a lot!
v-jiascu-msft
7 years agoMicrosoft Employee
Hi JPQ,
Your formulas should work though the result could be wrong. Please try this formula instead and the demo in the attachment.
Liberado Acumulado new =
CALCULATE (
SUM ( 'IW39 Filtrada'[Custos tot.plan] ),
FILTER ( ALLSELECTED ( 'Datas'[Date] ), 'Datas'[Date] <= MAX ( 'Datas'[Date] ) ),
USERELATIONSHIP ( Datas[Date], 'IW39 Filtrada'[Liberação real] )
)
Best Regards,
Dale
JPQ
7 years agoFrequent Visitor
Thx for the tip!
I finally works. The only thing is that it projets the upcoming months.
Thx a lot!