Forum Discussion
Problems with Merge Queries
Hello
I am using Merge Queries and I have the problems below:
1) The calculated columns do not appear in the list of columns to expand when I join a table, why is this happening? Can I not expand using the calculated columns? This is very inconvenient.
2) When I click to apply changes, PowerBI starts to load/download rows but my OBDC times out. How can I fix that?
3) When I click to apply changes, PowerBI seems to load/download millions of rows when in fact my files are less than a million of rows altogether. Why is this happening?
Thanks!
Hi Anonymous ,
If you want to show blank and A in slicer, you need to create a new table. I create a sample. Please have a try.
Table = ADDCOLUMNS ( VALUES ( Table2[Column1] ), "Table1_Column2", CALCULATE ( MAX ( Table1[Column2] ), FILTER ( Table1, Table1[Column1] IN VALUES ( Table2[Column1] ) ) ) )
5 Replies
- parry2kSuper User
Anonymous merge query is a very expensive transformation. Regarding your first question, not sure what you mean by the calculated column, I assume, you have added a column in a table, and on merge, you are saying you cannot see this column. There is no reason why this column will not show up. It is very hard to say what you are doing and why this column is not showing, click load more on expand column dialog box, and see if you get to see all the columns?
Bottom line is, why you are doing the merge? Cannot you achieve the same using relationship in the model?
- AnonymousNot applicable
parry2k thanks, I could use the relationship model but there is a significant inconvenience:
When two columns are put together in a table visual, which columns come from different tables that have been joined, there are fields that have no value because there the joining of the tables is not complete.
These empty values (which appear after you choose 'Show no values' in the table visual), cannot be included in the slicers. So whatever you choose in the slicers, the empty values will always be present which is inconvenient.
That's why I was thinking to do a Merge Query and replace the empty values with null in the column so that they can be filtered in the table visual using slicers.
Is there a solution for this?
- parry2kSuper User
Anonymous I think I got the gist of your problem, why not share sample data and what you are trying to achieve and let's what we can do here.