Showing results for 
Search instead for 
Did you mean: 
New Member

Changing Measure Formula when using slicer

Hello guys,

i created a table with 2 rows only called "ChurnType" with "Type" inside that only has "Partner and Customer"


This is my measure:

Churn Rate = IF([#Churn] = 0, 0, ([#Churn] + [#Lost]) / ([#Renewable] + [#Lost]))
And what i want to do is:
Churn Rate = IF([#Churn] = 0, 0, ([#Churn] + IF(ChurnType[Type] = "Partner", 0, [#Lost])) / ([#Renewable] + IF(ChurnType[Type] = "Partner", 0, [#Lost])))
But gives me the error "a single value for column "Type" in table... cannot be determined... column tahat contains many values..."
What i want is when i select option in slicer the formula changes because is differente from partner to customer.
I would apreciate some help on how to solve this.
Thanks in advance

Helpful resources

Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.