Forum Discussion
Query folding creates unusable queries in merge
Ran into the same problem, saw your post, then found this resource which documents the problem in a very detailed manner: https://cbailiss.wordpress.com/2022/09/03/power-bi-nullable-column-merge-join-problems/. No solution though.
- lbendlin2 years ago
Super User
Don't merge on columns that have nulls. Don't merge at all. Let the data model do the dirty work.
- Mulder25421 year agoFrequent Visitor
Yesterday I worked with an old dataset/sematic model, without a workaround in place for this issue (it did nevertheless work because there was less data involved) and noticed that the (preview) data appeared rather quickly. After further examination, it appears that even though PowerBI still produces the same inefficient query, Snowflake seems to handle it fine now. Could be a workaround on their side?
- _onto_10 months ago
Helper I
Could it be that you have a PRIMARY KEY hint in the Snowflake table?