Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Team,
If Sum(Act Ucc Cnt) >= 5 then I need an Output as Greater than 5 ,
If Sum(Act Ucc Cnt) < 5 and Sum(Act Ucc Cnt) >=1 then I need an Output as Less than 5 .
How do I got the Solution.
Solved! Go to Solution.
Hi @SIBI1998 ,
Try this:-
Measure =
Switch(true(),
Sum(Act Ucc Cnt) >= 5,"Greater than 5",
Sum(Act Ucc Cnt) < 5 && Sum(Act Ucc Cnt) >=1,"Less than 5"
)
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @SIBI1998
You can try the below DAX to create a measure:
Result =
SWITCH(
TRUE(),
SUM('Table'[Act Ucc Cnt]) >= 5,"Greater than 5",
SUM('Table'[Act Ucc Cnt]) < 5 && SUM('Table'[Act Ucc Cnt]) >=1,"Less than 5"
)
Thanks..
Hello there @SIBI1998 ! Try the following:
Measure_Name =
VAR _act_ucc_cnt =
SUM ( 'Table_name'[Act Ucc Cnt] )
RETURN
SWITCH (
TRUE (),
_act_ucc_cnt >= 5, "Greater than 5",
_act_ucc_cnt < 5
&& _act_ucc_cnt >= 1, "Less than 5"
)
Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudoe 👍
Thanks!
You can also check out my LinkedIn!
Best regards,
Gonçalo Geraldes
Hi @SIBI1998 ,
Try this:-
Measure =
Switch(true(),
Sum(Act Ucc Cnt) >= 5,"Greater than 5",
Sum(Act Ucc Cnt) < 5 && Sum(Act Ucc Cnt) >=1,"Less than 5"
)
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 5 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 9 | |
| 9 | |
| 8 |