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! It's time to submit your entry. Live now!
Hello,
I have a table
COL_a ...... COL_b ....... COL_c ....... COL_d
I need to divide COL_a with COL_b (That is a simple messure),
but I only need to divide COL_a with COL_b when COL_c value is XX and COL_d value in not YY
Can you please help?
Solved! Go to Solution.
Hi,
You can handle is with new column with this formula
=IF(AND(Table1[COL_c]=XX,Table1[COL_d]<>YYY),Table1[COL_a]/Table1[COL_b],0).
Hasan
Hi,
You can handle is with new column with this formula
=IF(AND(Table1[COL_c]=XX,Table1[COL_d]<>YYY),Table1[COL_a]/Table1[COL_b],0).
Hasan
| User | Count |
|---|---|
| 51 | |
| 38 | |
| 33 | |
| 22 | |
| 19 |
| User | Count |
|---|---|
| 136 | |
| 101 | |
| 58 | |
| 36 | |
| 35 |