Replies: 3 comments
-
This has been discussed to some extent in #436. The problem is that you can have M queries on partitions as well as on shared expression objects. Coming from an AS world, we prefer to let the TOM Explorer show objects in the same structure as they have in TOM, with the obvious exception of display folders for measures, columns and hierarchies. However, in Power Query, the query groups apply to all M expressions, regardless of whether they originate from partitions or shared expressions. So then the question is, how should we take that into account in Tabular Editor's TOM Explorer?
So the general problem is that Microsoft has defined an object model (TOM) where specific objects (M queries) are allowed to live in two very different places... what is the best way to visualize that? |
Beta Was this translation helpful? Give feedback.
-
Interesting issues. I had not considered some of those issues for these reasons:
Coming from the Power Query/Power BI side of things, I'd side with the AS group - loaded queries should be partitions in the table they are in and in the Tables section of the TOM. For me, the folders would only be implemented in the Shared Expression section to help clean it up. I don't think there would be tremendous pushback on this. In Power BI Desktop, whatever is loaded (partitions) it is just dumped into the Field pane as a bunch of tables in alphabetical order and any folder structure they came from in Power Query is ignored. Tabular Editor should, IMHO, follow that same logic. |
Beta Was this translation helpful? Give feedback.
-
Good points. I guess grouping Shared Expressions by their query group would definitely help, even though we don't show the partition-specific queries. |
Beta Was this translation helpful? Give feedback.
-
The folders/groups that we can organize M code in Power Query is available in the metadata of the shared expression for those queries that are unloaded. It would be nice if they were organized in Groups in the TOM view. This is in my Source Query group. Handy when tweaking code and working change through several stages of a query.
Beta Was this translation helpful? Give feedback.
All reactions