Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register 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.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 64 | |
| 31 | |
| 26 | |
| 26 |