cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
siddrow
Helper II
Helper II

How to add in thousand separator to pie chart figures

Hi

I've got a pie chart which is counting the number of lines that have the words "moved" or "no change". This column is obviously text, so I cannot change the format to number in power query or in the model tab. I also don't want to use the below function as is look strange when I filter on a specific location and the data is only in the 100's (see second screenshot). Is there another way to do this?

 

siddrow_0-1673414099162.png

 

 

siddrow_1-1673414127894.png

 

 

 

 

1 ACCEPTED SOLUTION

Hi @siddrow 

 

You have to create a measure to count the number of rows so that it can be formatted to show the thousand separator. I'm not sure how the measure you have tried looks like, but a measure is able to be used as a drill-through field. I have created a sample file attached at bottom. Below are my key steps:

 

Assume that you want to count based on "Status" (text type) column in below table, 

vjingzhang_0-1673945404214.png

You can create the following measure and add it to the pie chart. Select this measure and select "," as the thousand separator in Measure tools. 

Count of status = COUNT('Table'[Status])

vjingzhang_1-1673945539091.png

Then create a page 2 as the destination page of drillthrough. Add [Count of status] measure to the drill-through fileds well on page 2. 

vjingzhang_2-1673945737168.png

Return back to page 1 where the pie chart is, you will be able to drill through to the page 2. 

vjingzhang_3-1673946000345.png

 

Hope this helps. 

 

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

View solution in original post

7 REPLIES 7
alekhved
Resolver I
Resolver I

hi,

 

Try selecting following values along with display unit = None

Value Decimal Places = 0

alekhved_0-1673416811638.png

Thanks!

Hi, that did nothing unfortunately.

Surprisingly it works like a charm at my end. Well, the measure that you created, can we have a look at it? Also can you try defining the format as 

alekhved_0-1673417806471.png

Thanks!

it's not a measure, the value in the pie chart is based off a custom column I created. I did have measures in there, however it wouldn't allow me to use the drill through page function to display the data for the pie chart in my data table in another tab.

Hi @siddrow 

 

You have to create a measure to count the number of rows so that it can be formatted to show the thousand separator. I'm not sure how the measure you have tried looks like, but a measure is able to be used as a drill-through field. I have created a sample file attached at bottom. Below are my key steps:

 

Assume that you want to count based on "Status" (text type) column in below table, 

vjingzhang_0-1673945404214.png

You can create the following measure and add it to the pie chart. Select this measure and select "," as the thousand separator in Measure tools. 

Count of status = COUNT('Table'[Status])

vjingzhang_1-1673945539091.png

Then create a page 2 as the destination page of drillthrough. Add [Count of status] measure to the drill-through fileds well on page 2. 

vjingzhang_2-1673945737168.png

Return back to page 1 where the pie chart is, you will be able to drill through to the page 2. 

vjingzhang_3-1673946000345.png

 

Hope this helps. 

 

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

VijayP
Community Champion
Community Champion

@siddrow 

Use None instead of thousands to show the absolute number so when the denomination is 100 still the value will be absolute




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Hi

 

That's what I'm currently using, which doesn't solve my issue. As I select different locations in my slicers, the visual will change between 100 & 1000. I would like to show the 1000 as 1,000 but keep the 100 as 100, not .1K.

 

slicer set to a specific location - I want this to stay as is

siddrow_0-1673416095082.png

 

no slicer selected - i want this to show as 1,679 and 4,476

siddrow_1-1673416130041.png

 

 

 

 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors