-
Notifications
You must be signed in to change notification settings - Fork 55
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
Import Model To Direct Lake Migration #202
Comments
What is the '# Measure' table? Is it a regular data table? Does it have any columns? Please share more details on the properties of this table. |
Yes, It is an empty calculated table! to place all the measures at one place! |
You need to create a sort of 'dummy' table in the lakehouse, as such, add it to the model, and place all the measures in that table. import sempy_labs as labs
import pandas as pd
df = pd.DataFrame(columns=['NewCol'])
schema = {
"NewCol": "str",
}
labs.save_as_delta_table(dataframe=df, delta_table_name="MeasuresTable", write_mode='overwrite', schema=schema) |
I have tried running the above script and created an measures table and when I trying to run the migrate_model_objects_to_semantic_model() function, it is throwing below error: Few measures are getting created which are not part of that measures table. With this, what is happening is it is breaking at this point and it cannot create other objects in semantic model! |
Hi! any solution on this? |
What is the Dax behind the '# measures' calculated table? |
This is an empty calculated table which we are storing the all the measures. So it is an empty calculated table! |
Please share the DAX behind the calculated table |
Yes sharing the DAX |
Where is the dax? |
While doing the migration from import mode to direct lake.
It is considering #Measures as calculated table and it is stopping the migration.
What should we do here?!
Any suggestions so that the Semantic-Link-Labs ignores this!?
The text was updated successfully, but these errors were encountered: