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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors