Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Matrix Total

Hey guys!
Could anyone help me solve the problem of my Churn MRR % column total?

I am using the following measurement:

DIVIDE([Faturamento Perdido],
CALCULATE([MRR Ativo Real],
PREVIOUSMONTH('dCalendário'[Date])))

To arrive at this percentage measure I used other measures:

VAR FaturamentoPerdido = CALCULATE(
SUM('dClientes'[Valor_do_deal]),
'dClientes'[Status Clientes] = "Concluído",
'dClientes'[Data_fim] <> BLANK(),
USERELATIONSHIP('dClientes'[Data_fim], 'dCalendário'[Date]))
MRR Ativo Real =
([Faturamento Acumulado] - [Faturamento Perdido Acumulado])
This only happens when no month is selected

kfreitass_1-1653246369719.png

How could I resolve?

 

Thanks

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Anonymous

 

What is your expected result for the column total? There is PREVIOUSMONTH in the measure, so I think for the column total, it picks the last month from the current context to calculate the total value. 

 

"For total and subtotal rows, Power BI evaluates the measure over all rows in the underlying data – it isn't just a simple addition of the values in the visible or displayed rows. This means you can end up with different values in the total row than you might expect." See Understanding how Power BI calculates totals

 

Best Regards,
Community Support Team _ Jing

View solution in original post

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @Anonymous

 

What is your expected result for the column total? There is PREVIOUSMONTH in the measure, so I think for the column total, it picks the last month from the current context to calculate the total value. 

 

"For total and subtotal rows, Power BI evaluates the measure over all rows in the underlying data – it isn't just a simple addition of the values in the visible or displayed rows. This means you can end up with different values in the total row than you might expect." See Understanding how Power BI calculates totals

 

Best Regards,
Community Support Team _ Jing

Anonymous
Not applicable

@v-jingzhang 
Yes, what you said makes a lot of sense. i think i was thinking wrong. Thanks so much

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.