Forum Discussion
How to link Table A to Table B - Vlookup?
MalS, nope didnt work and i think its a bit more complicated, as this solution i imported from PowerPivot into PowerBI.
CCACC = [AccCom]&[CCLevel2]
Now AccCom is from Table AccountStructures
AccCom = IF (AND(Actuals[Actuals]=0,Budgets[Budgets]=0),BLANK(),IF ([BrowseDepth]=2, CALCULATE(min([Acc_Level11]),filter('Accounts',[AccRows]>0)),
IF ([BrowseDepth]=3,CALCULATE(min([Acc_Level12]),filter('Accounts',[AccRows]>0)))))
Now CCLevel2 is from Table CostCentreStructure
CCLevel2 = IF (AND(Actuals[Actuals]=0,Budgets[Budgets]=0),BLANK(),CALCULATE(min([CostCentre_Level10]),filter('CostCentres',[ccRows]>0)))
But when i copy CCACC to a new column it only returns AccCom values and nothing for CCLevel2
even if i try changing it to CONCATENATE AccountStructures[AccCom],CostCentreStructures[CCLevel2]
But when i drag CCLevel2 into a grid visualization i see the data.....
Hmm - not really sure why you would see values from AccCom but not CCLevel2. It's a bit diffcult to figure out without the .pbix file to play around with.
I would probably try adding AccCom and CCLevel2 as columns too, to see if that gives any clues. Otherwise, I think I am out of ideas...