Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |