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 nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
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 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 37 | |
| 31 | |
| 27 |