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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
cguarisco
Regular Visitor

Percentage data type not working on visuals

Hi, I am having some issues at showing percentage data types in tables. The same procedure I've used weeks ago is not working anymore.

 

Here the steps I've followed:

1. Add a new dataset from MySQL with a column calculated as 1/3. Right click on the dataset -> Edit Query

2. Right click on Column -> Change Type -> Percentage

3. At this moment, in the Power Query Editor window, the data is shown as percentage correctly

4. Close & Apply

5. Select Table visual

6. Add the selected Column as a Field

7. The column now shows 0,67

 

Am i doing something wrong?

 

Also, I have a previously created .pbix with a column that is shown correctly on Table visual. If i duplicate the column in the dataset, change type to Percentage.Type, Close&Apply and add both columns to visual -> the newly created column is shown as a decimal number, while the old one is correctly shown as percentage

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hello @cguarisco,

There's nothing wrong with your operation.
AFAIK, the current tables in the power bi data model do not support the percentage type. If you set these fields in percentage on the edit side of the query, you will force the transformation to decimal type when they are converted to a data mode table field.

You can click the 'format' tab 'percentage' icon to set the display format of the field value to percentage.

13.png

Best regards

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hello @cguarisco,

There's nothing wrong with your operation.
AFAIK, the current tables in the power bi data model do not support the percentage type. If you set these fields in percentage on the edit side of the query, you will force the transformation to decimal type when they are converted to a data mode table field.

You can click the 'format' tab 'percentage' icon to set the display format of the field value to percentage.

13.png

Best regards

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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