Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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.
User | Count |
---|---|
85 | |
79 | |
64 | |
52 | |
46 |
User | Count |
---|---|
101 | |
49 | |
42 | |
39 | |
38 |