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 August 31st. Request your voucher.
Hello all,
i have 2 face tables that are not related to one another but are Via customer Dim table:
I need to create a calc colum in Fact Table 2 that looks up a column from Fact Table 1
based on some columns that match in BOTH tables:
very generic.
the problem is that somethimes it works and somthimes it doent (when it totally should!!)
and somthines it dosnt work:
I know when I get a blank thats because not ALL the condiotns are met but they are. they all meet but I still get a blank
any ideas?
Hi, @Anonymous
As @HotChilli mentioned above, hidden spaces and other invisible characters often affect the lookup result. An easy way is to use the Len function to check whether the string lengths are the same.
Remove the hidden characters and often you will get the correct result.
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I think you will have to investigate the data quality of the columns as it looks like there's a difference between tables. You can do this in power Query, using column quality, distribution, profile from the View menu.
Are the ID columns text? If so they might need a Trim to remove spaces etc.
User | Count |
---|---|
11 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
23 | |
14 | |
13 | |
10 | |
8 |