Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
86 | |
81 | |
70 | |
49 |
User | Count |
---|---|
143 | |
124 | |
107 | |
60 | |
55 |