cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Aspi
Helper I
Helper I

Numbers not being displayed same as in Excel.

Hello all you experts,

I have data in Excel that has a number field with 3 digits i.e. leading zeros when . When uploaded into Power BI this field shows with only 1 digit. For example If Excel has 000 Power BI displays it as only 0. When Excel has 014 Power BI displays as only 14.

I would like to see all 3 digits being dislayed in my Dashboard...see screenshost attached.

Can someone pls advise a simple DAX formula to fix this issue??

I have tried changing the formatting in Power BI as Text and numbers but nothing works.

Regards.

Aspi.Excel shows 3 digits.jpgPower BI shows only 1 digit.jpg

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @Aspi 

Set the Column to Whole Number and set the Format to 000.  Just type 000 into the Format String Area.

cust-form.png

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

4 REPLIES 4
PhilipTreacy
Super User
Super User

Hi @Aspi 

Set the Column to Whole Number and set the Format to 000.  Just type 000 into the Format String Area.

cust-form.png

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Hi Phil,

Thanks for the advise. It has worked perfectly... Great.

pranit828
Community Champion
Community Champion

Hi @Aspi 

Change the format of this column in Power BI from number to text.

pranit828_0-1611267933608.png

 





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile

Hi Pranit,

As I said in my first post iteslf, have tried doing that but doesnt work..

Thanks

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.