Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
76 | |
75 | |
46 | |
31 | |
27 |
User | Count |
---|---|
99 | |
91 | |
51 | |
49 | |
45 |