Forum Discussion
Prarabdha_07
2 years agoFrequent Visitor
Power BI IF condition with Different table Columns
Hii, I am connecting two Tables Customer (StoreID) and Store(BusinessEntityID) -- I need to create a IF Measure using Columns from both the Tables like this -- Columns from Differen...
- Anonymous2 years ago
Hi Prarabdha_07
After my testing, you can put the BusinessEntityID field in place of the StoreID field in the visualization if you wish.
Best Regards,
Yulia XuIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
rkottap
2 years agoFrequent Visitor
Hi,
Try below.
Columns from Different Tables (IF) =
VAR SelectedStoreName = SELECTEDVALUE ( Store[Name] )
VAR SelectedStoreID = SELECTEDVALUE ( Customer[StoreID] )
RETURN
IF (SelectedStoreName = "A Bike Store" && SelectedStoreID = 934, "Working", "Not Working")
- Prarabdha_072 years agoFrequent Visitor
Same thing , values are duplicating