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
Hello,
I need to create a calculated column based on test results. I believe I need multiple IF/AND type logical functions to create my DAX expression, but I cannot write this properly. An example of the data is below, with the calculated column furthest right.
There are two types of test, Manual and Automated.
For a manual test, Result 1
For an automated test Result 1 must = Operates
I appreciate some help generating the DAX for this.
Thank you
Solved! Go to Solution.
Here is your Solution with Switch function instead of using multiple If statement.
Here is your Solution with Switch function instead of using multiple If statement.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 10 | |
| 10 | |
| 6 | |
| 6 |