Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Python visual labels turn into floats in service

Hello Community,

I have published a Python visual to PBI Service.

I am experiencing a difference in my labels between desktop and service
Desktop:


Service:

 

The label column 'EAN' seems to turn into a float in the service which postfixes '.0'.

I cast the label column as a string:

result['EAN'] = result['EAN'].astype('str')

 

Any ideas on what I can try to get the same labels in service as in desktop?

1 Reply