Replies: 6 comments
-
Thanks for reporting. Currently, TE3 uses the following mapping from Power Query data types to Tabular data types:
There is a known bug with May I ask you to check what the Power Query data type of the problematic columns are? (For example, using Power Query inside Power BI or Excel, wrap the original M-query in a call to Table.Schema and look at the "TypeName" column). |
Beta Was this translation helpful? Give feedback.
-
The bug I mentioned above has been fixed in 3.0.1. Could you let me know if the issue still persists? |
Beta Was this translation helpful? Give feedback.
-
Hi, From what I've been looking, the problem is on my side. but it would be interesting that it would not. Let me explain:
I understand this is not good design, but it is the way the source data we join is typed. We could unify it in PQ/M steps, but in general prefer to do as little as possible there. It would be great if TE3 could check all the partitions, and suggest the safest / more general type whenever multiple types are assigned to a column. Also, having a warning that this is happening would be good - specially if strings are implicitly converted. You can mark this issue as "user error" or "TE3 improvement" as you better see fit :) |
Beta Was this translation helpful? Give feedback.
-
I will provide an option for checking all partitions (it might be slower than checking only the first one), and showing a warning if data types do not match between individual partitions. Great suggestion! |
Beta Was this translation helpful? Give feedback.
-
Hi, I just wondering where to find the link in the application to update the table schema. |
Beta Was this translation helpful? Give feedback.
-
Hi @powerjibe. Currently, the Update Table Schema feature is only enabled while connected to an instance of Analysis Services. So if you are opening the model from a folder, you should use the new Workspace Database feature to simultaneously connect to Analysis Services. There will soon be an update, that allows Tabular Editor 3 to update table schema even when not connected to Analysis Services, but this option will be limited in the same way as it is in Tabular Editor 2.x (i.e. it only works with SQL-partitions against relational data sources - so no support for Power Query partitions). |
Beta Was this translation helpful? Give feedback.
-
The Update Table Schema is giving me some wrong suggestions on updating the data types of imported data, in particular to change a double to a int.
The data loaded to the table comes from different PowerQuery (M) partitions. The issue might be related (I need to check) to the different M partitions providing different data types. But it could be an idea to check all the partitions to see if they return different data types for the same column.
Beta Was this translation helpful? Give feedback.
All reactions