Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
jdevries192
Frequent Visitor

Read from semantic models (Semantic Link) No Longer Working

Hi All,

 

I've been using Semantic Link to pull data. Code worked this morning but stopped this evening. There were no changes to our environment. I tried code in a new notebook with the same result.

 

I get the following various error:

  1. Error: TypeError: got an unexpected keyword argument 'pandas_convert_dtypes'

 

 

 

import sempy.fabric as fabric

dataset = "dataset"

#call measures
data = fabric.evaluate_measure(dataset, 
                        measure="measure", 
                        groupby_columns=["Dimension[groupby1]"],
                                pandas_convert_dtypes=True)

 

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @jdevries192 ,

Apologies for the issue you have been facing. I suggest you not to use pandas_convert_dtypes at all - I don't think you need it, as we always convert the types with respect to latest release - 0.3.6.

With the latest released we removed the parameter as we've implemented a stable behavior that converts the types more reliable. 

Latest Documentation will be roll out in some days. Sorry for the inconvenience.

Untill then you can use help(fabric.evaluate_measure).


Hope it is helpful. Please let me know incase of any further queries.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @jdevries192 ,

Apologies for the issue you have been facing. I suggest you not to use pandas_convert_dtypes at all - I don't think you need it, as we always convert the types with respect to latest release - 0.3.6.

With the latest released we removed the parameter as we've implemented a stable behavior that converts the types more reliable. 

Latest Documentation will be roll out in some days. Sorry for the inconvenience.

Untill then you can use help(fabric.evaluate_measure).


Hope it is helpful. Please let me know incase of any further queries.

Helpful resources

Announcements
August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.