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
Tillyz
New Member

Decimal places in Dataflow

Hi all,

 

I am creating a series of index in dataflow. Everything works well when data type is text (please see the example as per below)

Tillyz_0-1686095931800.png

However, when i changed data type from text to decimal number. Index 2.10 became 2.1.

Tillyz_2-1686096075497.png

 

Is there any way that I could set the decimal places to 2? 

Thanks for your help.

 

Kind Regards,

 

Tilly

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @Tillyz 

 

In Power Query it doesn't support to format the columns. You need to format the decimal places in the model with Power BI Desktop or with Datamart in Power BI Service. When you display the data in a visual, you will see numbers with 2 decimal places. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Mahesh0016
Super User
Super User

@Tillyz  you need to format as Decimal number then after (.) given 2 for display 2 digit of number after point(.) in power bi desktop! THANK YOU!!

Mahesh0016_1-1686116306724.png

 

 

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.

Top Solution Authors