Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hola;
Necesito segmentar datos en 4 o 5 categorías diferentes (<10, >10, >15, >30), doy un ejemplo sencillo:
Persona Edad SEGMENTACION
A 5 <10
B 29 >15
C 13 >10
D 55 >30
E 14 >10
Actualmente uso:
Solved! Go to Solution.
You could use nested IF statements, but I would use a SWITCH(TRUE()...) statement.
Hi @Anonymous
Try below formula:
Column =
IF (
Table3[Edad] < 10,
"<10",
IF (
Table3[Edad] > 10
&& Table3[Edad] < 15,
">10",
IF ( Table3[Edad] > 15 && Table3[Edad] < 30, ">15", ">30" )
)
)
or
Column 2 =
SWITCH (
TRUE (),
Table3[Edad] < 10, "<10",
Table3[Edad] > 10
&& Table3[Edad] < 15, ">10",
Table3[Edad] > 15
&& Table3[Edad] < 30, ">15",
">30"
)
Regards,
Cherie
You could use nested IF statements, but I would use a SWITCH(TRUE()...) statement.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!