Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I have two tables. Territory and Sales. I wanna create a column in Sales table named BU from Territory table.
I use LOOKUPVALUE like below, but it returns all blank.
When I bulid a 1:* relationship between these two tables and use RELATED, it works well. In my model there is the other relationship, I make it inactive and bulid this one for testing.
I also checked if there are invisible blanks or sth with RELATED, nothing wrong was found.
In the community, there are also some questions like LOOKUPVALUE not working, but no good answers for my question.
I wish someone master could help me. Thank you in advance.
Hi,
I am not sure how your datamodel looks like, but I tried to creae a sample pbix file like below.
Please check the below picture and the attached pbix file.
It is for creating a new column.
I hope the below can provide some ideas on how to create a solution for your data model.
BU CC =
LOOKUPVALUE(Dim_Territory_History[BU], Dim_Territory_History[Key], 'Fact'[BU_Key] )
When I simulated some data myself, LOOKUPVALUE also works well. But in my model, it doesn't work.
Hi,
Thank you for your message.
Please share your sample pbix file's link here, and then I can try to look into it to come up with a more accurate solution.
Thanks.
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
14 | |
10 | |
7 |