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

View all the Fabric Data Days sessions on demand. View schedule

Reply
subzero355
Frequent Visitor

Dynamic Segmentation not working based on measure

I have below table,

subzero355_0-1655284856414.png

 

Classification2 = if(ctblABC[Temp] < 0.5,"A","B")
Can't understand why Classification2 is showing "B" instead of "A" for values in Temp < 0.5
2 REPLIES 2
v-kkf-msft
Community Support
Community Support

Hi @subzero355 ,

 

What is the formula for ctblABC[Temp]?

 

And not sure if this measure fits your context, maybe you can try it.

 

Measure =
IF (
    SUMX (
        SUMMARIZE ( 'Table', 'Table'[Material], "_temp", [Temp] ),
        [_temp]
    ) < 0.5,
    "A",
    "B"
)

 

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Here is how Temp is calculated,

Temp =
var CurrPercentage = ctblABC[Contribution]
RETURN
(
sumx(filter(all(ctblABC[Material]),ctblABC[Contribution] >= CurrPercentage),
[Sales_6M]/[Sales_Total]
)
)

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors