Forum Discussion
shadowsong42
Resolver I
1 year agoCustom sorting a column from a Direct Query data source
The text column Planning LOB comes from a Direct Query cube connection. Sometimes Planning LOB values are added or deleted. The values appear to be listed in alphabetical order. I would like to a...
- 1 year ago
Hi shadowsong42 ,
- you cannot create a direct relationship between a Direct Query table and a calculated table, you can import specific tables or columns from your Direct Query source.
- Once you have your reference table in Import mode, you can create a relationship between this table and the Direct Query table.
- This relationship will allow you to sort the Direct Query column based on the values in your imported reference table.
If this post was helpful, please consider marking Accept as solution to assist other members in finding it more easily.
If you continue to face issues, feel free to reach out to us for further assistance!
lbendlin
Super User
1 year agoYour approach with a reference table seems reasonable. Why would you be unable to update that when the new LOB came in? That will be a regular maintenance process anyway?