Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
i connected to an azure analysis model through powerbi desktop. made a report and published it to the workspace. inside the workspace i can see the report and the semantic model i published. but when i use sempy to list all datasets, i dont see mine.
this is the code used in the fabric notebook -
Solved! Go to Solution.
This bug was fixed by microsoft, now when you use
This bug was fixed by microsoft, now when you use
Hi @Anonymous ,
I tested your code and it outputs fine.
Please try:
1. Ensure that you have the necessary permissions to view the dataset.
2.By default, SemPy tries to access your semantic model from:
If your semantic model isn't located in either of these workspaces, you must specify the workspace of your semantic model when you call a SemPy method.
list_datasets(workspace: str | UUID | None = None, mode: str = 'xmla', additional_xmla_properties: str | List[str] | None = None) -> DataFrame
sempy.fabric package | Microsoft Learn
Read data from semantic models and write data that semantic models can consume using python
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
my published model, lakehouse and notebook are all in the same workspace. the other datasets which are available in the workspace are shown when using 'list_dataset()' method. but this model was published to the workspace in below manner-
1. i connected to an azure analysis model from pbi desktop.
2. made a sample report with tables.
3.published the report in said workspace, which also brings the attached model into the workspace.
4.tried to access this attached model using sempy, but it is not listed as one of the datasets.
it would be great to get your perspective on this, thank u.
BR,
Izyaan.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 52 | |
| 24 | |
| 12 | |
| 11 | |
| 11 |