The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi All,
I have a table containing something like this:
Basically, I want to get the code. So, I combined the excel to the existing database in PBI.
There's similar info like Basin & GU under Organization table, but Country is under People table.
So I made this formula - creating a new column in Organization table namely "X Code" and I want to lookup into excel file that I have above. However, since Country section is on another table, I cannot tag it into my equation.
Do you have any other alternatives?
X Code =
LOOKUPVALUE(
'X Code'[MSK X Code],
'X Code'[Basin (Code)], 'Dim Organization'[Basin (Code)],
'X Code'[GU (Code)], 'Dim Organization'[GeoUnit (Code)],
'X Code'[Country], RELATED('Dim People'[Country])
)
Solved! Go to Solution.
Please consider using TREATAS instead. It has much better performance.
Please consider using TREATAS instead. It has much better performance.
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |