This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi good day, can anyone correct my IF calculated column
DESIRED OUTPUT
| Initial_ | Subtable | Final |
| 0 | 0 | 0 |
| 0 | 0 | |
| 0 | 0 | 0 |
| 0 | 0 | |
| 0 | 0 | |
| 0 | 0 | |
| 0 | 0 | 0 |
| 1 | 1 | |
| 1 | 1 | |
| 1 | 1 | |
| 1 | 0 | 0 |
| 1 | 0 | 0 |
| 1 | 0 | 0 |
| 1 | 0 | 0 |
| 1 | 0 | 0 |
| 1 | 0 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | |
| 1 | 1 | |
| 1 | 1 | |
| 1 | 1 |
Solved! Go to Solution.
Hi @AllanBerces ,
Please chech the below correct version and let me know if this works for you.
If it sees a blank: It pulls Initial_ value.
If it sees a 0: It recognizes the number and returns 0.
If this post helps, please accept this as a solution. Appreciate your kudos.
Thanks,
Pallavi
Hi,
Write this calculated column formula
Column = if(Data[Subtable]==0,0,Data[Initial_])
Hope this helps.
Hi @AllanBerces ,
Please chech the below correct version and let me know if this works for you.
If it sees a blank: It pulls Initial_ value.
If it sees a 0: It recognizes the number and returns 0.
If this post helps, please accept this as a solution. Appreciate your kudos.
Thanks,
Pallavi
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 23 | |
| 20 | |
| 20 | |
| 20 | |
| 20 |