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.
"quanity" (sheet 1) where "Location" = USA (Sheet 2) = quantity (in new column)
and when location dosent match, the result should be blank
| Quantity | Location | Desired Result |
| 10 | USA | 10 |
| 30 | NZ | |
| 22 | IND | |
| 40 | USA | 40 |
Solved! Go to Solution.
Hi @Reddyp ,
I suggest you to try this code to create a calculated column.
Desired Result = IF('Table'[Location] = "USA",'Table'[Quantity],BLANK())
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
calccolumn = COUNTROWS( RELATEDTABLE('Sheet 2') )
Hi @Reddyp ,
I suggest you to try this code to create a calculated column.
Desired Result = IF('Table'[Location] = "USA",'Table'[Quantity],BLANK())
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Fabric update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!