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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
| ProjTrans | RefTrans | OrigTrans | AMOUNT |
| 208428 | 6 | ||
| 295865 | 208428 | -6 | |
| 295866 | 208428 | 208428 | 6 |
| 295869 | 8 |
Any body help me to transform the data below.
| ProjTrans | Amount | RefTrans | ProjTrans | Amount | OrigTrans | ProjTrans | Amount |
| 208428 | 6 | YES | 295865 | -6 | YES | 295866 | 6 |
| 295869 | 8 | No | No | ||||
| if(ProjTrans in RefTrans) then YES else No | if(ProjTrans = RefTrans && OrigTrans ="Null") then ProjTrans | if(ProjTrans = RefTrans && OrigTrans ="Null") then Amount | if(ProjTrans = OrigTrans ) then "YES" Else No | if(ProjTrans = OrigTrans ) then ProjTrans | if(ProjTrans = OrigTrans ) then Amount |
Hi @sohailstsindia ,
Actually I cannot understand your logic here totally. Coul you please share more details about that?
Here I create two calculated columns to work part of that.
RefTrans1 = IF(Table1[ProjTrans] in VALUES(Table1[RefTrans]),"Yes","No")
origtrans1 = IF(Table1[ProjTrans] in VALUES(Table1[OrigTrans]),"Yes","No")
Also please find the pbix as attached.
Regards,
Frank
hi @Frank,
Thank your your effort,
I need ProjTrans, AMount then
if ProjTrans no is in RefTrans and OrigTrans is Null then "YES" else "No" and Amount.
and if ProjTrans is in OrigTrans then "YES" else "No" and Amount.
All in one Row.
regards,
Sohail
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 55 | |
| 53 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 123 | |
| 108 | |
| 44 | |
| 32 | |
| 26 |