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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Segmentation

Hello everyone,

Someone could help me?

I have a measure that calculates my churn rate:

Churn_Tx de Queda = DIVIDE([Churn_Caiu],[Churn_Solicitado])

And I would like to calculate this rate within an array that has the Fee and Lifetime segment.

kfreitass_0-1652414829828.png

I'm trying the following measure, but it's not working:

Churn por Segmento =


VAR vLimInfFee = MIN('SegmentaçãoFee'[Inf])
VAR vLimSupFee = MAX('SegmentaçãoFee'[Sup])
VAR vLimInfLT = MIN('SegmentaçãoLifetime'[Inf])
VAR vLimSupLT = MAX('SegmentaçãoLifetime'[Sup])


RETURN

CALCULATE( [Churn_Tx de Queda],
FILTER(
VALUES('fRelatório_Churn'[Card_id]),
VAR vFee = [Faturamento]
VAR vLT = [Total Lifetime]
RETURN
vFee >= vLimInfLT && vFee < vLimSupLT &&
vLT >= vLimInfFee && vLT < vLimSupFee
)
)

 


I would like to get a result like the one in the figure

kfreitass_3-1652415383089.png

 

How can I do it?

thank you
 
Karina
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , refer if my video and blog can help

Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1387187#M626


Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , refer if my video and blog can help

Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1387187#M626


Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.