Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataCoverageDefinition not taken into account. Tabular Editor fails to connect after deploying model. #1186

Closed
HennySpeelman opened this issue Mar 11, 2024 · 2 comments
Labels
bug Anything that is supposed to work, but doesn't.

Comments

@HennySpeelman
Copy link

Description:
Fail to re-connect to deployed model after altering the datacoveragedefinition property on a direct query partition of my fact table in the semantic model. Property doesn't seem to be available when opened with SSMS.

Here are my actions:
I first created a data model in Power BI with a fact table (DirectQuery mode).
Then I published this to a premium workspace.
I connected to this model with TE2.23.0 -> this works

  • Changed the compatibility mode to 1603
  • Duplicated partition of the table I want to make hybrid
  • Changed the data storage mode of the new partition to 'import'
  • Changed the names of the partitions (DQ and import)
  • For the DQ partition, I added the 'datacoveragedefinition': 'FactTable'[Date Key] < 20230101
  • I published this model -> this works
  • I close Tabular editor and reopen it
  • I get the error 'This object does not have any child collections' (error connecting to database)

I would have expected to be able te reconnect and check whether the property was there.
When checking the query optimizer in Power BI desktop (with a live connection to the published data model), I still see a DAX and Directquery, so I assume the property is not deployed correctly. Deploying this option via SSMS also does not work. (succesful commit, but property nowhere to be found after deployment)

Compatibility level:
image

Import partition:
image

Direct Query partition:
image

Error:
image

@HennySpeelman HennySpeelman added the bug Anything that is supposed to work, but doesn't. label Mar 11, 2024
otykier added a commit that referenced this issue Mar 12, 2024
@otykier
Copy link
Collaborator

otykier commented Mar 12, 2024

Thanks for reporting this. I was able to reproduce the issue when re-opening the model in Tabular Editor, and have just published an updated version where this is fixed: https://github.com/TabularEditor/TabularEditor/releases/tag/2.23.1

@HennySpeelman
Copy link
Author

Great! it works.

Thanks for this lightning fast solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Anything that is supposed to work, but doesn't.
Projects
None yet
Development

No branches or pull requests

2 participants