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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
How to perform the below excel formula in Power BI in a new column?
New Column
=IF(A1="";"";IF(A1<>A2;"Yes;"No"))
Info:
A1 = ID_task line 1
A2 = ID_task line 2
Tks.
Solved! Go to Solution.
column=IF(A1="","",IF(A1<>A2,"Yes,"No"))
column=IF(A1=blank(),"",IF(A1<>A2,"Yes,"No"))
>>If this post helps, please consider accept as solution to help other members find it more quickly.
Hi @Diogo_Ferreira ,
I created some data:
Here are the steps you can follow:
1. Create calculated column.
Column =
IF(
'Table'[ID_task line 1]=BLANK(),
BLANK(),
IF(
'Table'[ID_task line 1]<> 'Table'[ID_task line 2],"Yes","No"))
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Diogo_Ferreira ,
I created some data:
Here are the steps you can follow:
1. Create calculated column.
Column =
IF(
'Table'[ID_task line 1]=BLANK(),
BLANK(),
IF(
'Table'[ID_task line 1]<> 'Table'[ID_task line 2],"Yes","No"))
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
column=IF(A1="","",IF(A1<>A2,"Yes,"No"))
column=IF(A1=blank(),"",IF(A1<>A2,"Yes,"No"))
>>If this post helps, please consider accept as solution to help other members find it more quickly.
It would be easier, if you could provide some sample data and expected result column, full representing your case.
e.g. the description only explained the formula for B1, what about B2? Always compare the next row?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
7 | |
4 | |
3 |