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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
hhuddleston
Advocate II
Advocate II

Number Formatting on Card Visualization

I have a card visualization that totals the number of ticket scans for a tourist attraction. This is a direct query dataset, so it is essentially giving real time data, updated every minute. The number in the dataset is an int data type and I have set it as a comma seperated whole number in the Modelling tab, and the format is also set as a whole number.  In the card format for Data Label Display units is set to None. The issue is that is displays properly as a comma seperated number up until it reaches 10,000, but then the display switches to 10.1 K instead of 10,100 (or 10,125) which is how I want it to display. The attraction manager wants it to show it as a comma seperated number no matter how high the number goes. Any help would be appreciated.

1 ACCEPTED SOLUTION

I managed to get this to display properly, using the following settings:

 

Data Modeling in PBI model

  • Data Type - Whole Number
  • Format - Whole Number
  • Thousands Seperator - Enabled
  • Decimal Places - 0

Visualization for Card

  • Display Units - None

Thanks for everyone's input!

 

Herb

View solution in original post

8 REPLIES 8
SonamSahoo2020
Frequent Visitor

select the card visual > Format > Data label > Display unit.... In this way, we can format our display unit to auto, none, thousand, million, trillion, billion....

 

Thank you

🙂

v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @hhuddleston,

I import data in direct query mode, and add the date into  a card, it also shows correctly, please see the following screenshot.

1.PNG

Best Regards,
Angelia

Interkoubess
Solution Sage
Solution Sage

Hi @hhuddleston,

 

It is weird, I tried as you explained and I have this visual.

Can you please show us a sample in order to better understand your request.

 

Thank you,

 

Data_format.PNG

The card on the left is what I want to display - no matter how high the number goes.

The card on the right is what happens when it crosses the 10,000 mark.

 

Total Scans Examples.PNG

Hi @hhuddleston,

 

Either you give us your sample in order to test it again, but I still have the right visual ( on the left) when I tested on my computer.

Perhaps another person can elaborate the issue ( if it is )....

Thank you

I managed to get this to display properly, using the following settings:

 

Data Modeling in PBI model

  • Data Type - Whole Number
  • Format - Whole Number
  • Thousands Seperator - Enabled
  • Decimal Places - 0

Visualization for Card

  • Display Units - None

Thanks for everyone's input!

 

Herb

Anonymous
Not applicable

It works. Thank you!

Modeling Ribbon > New Column

Count = 1

Drag the Card Visual to the Report Canvas

Drag the new Count column from the Fields area to the Card Visual

 

Modeling Ribbon 

  • Data Type - Whole Number
  • Format - Whole Number
  • Thousands Seperator - Enabled
  • Decimal Places - 0

Visualization for Card > Format Roller

  • Display Units - None

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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