Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi,
Does anyone knows of a function to solve this problem? I want to write a conditional statement with DAX.
The problem is "if there are more than 2 number "5", then ..."
Would appreciate if you guys help me, Thanks!
Solved! Go to Solution.
Hi @Anonymous ,
you can create this calculated column:
Hi @Anonymous ,
you can create this calculated column:
Is your table like table A or Table B? Which is your expexted result?
I have table A just like u created. I want to transform my table A to
I only want to display names who has the value "5" more than twice.
Hi @Anonymous ,
what do you mean by more than 2 numbers?
Something like this
| James | 5 | 5 | 5 |
| Lucas | 3 | 3 | 1 |
For example, James' row has the value "5" more than 2.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 54 | |
| 42 | |
| 30 | |
| 24 |