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

How to show in one single bar of a chart the sum of values below of a certain value

Hello,

 

in a chart (for example istogram) I need to show in one single bar (customer) the sum of all sales incomes below of 1.000 USD (label "other customers < 1.000 USD"). I cannot use grouping way because the sum should be dynamic if other filters are applied and in case of data updating.
Thank you in advance for your help.

 

2 REPLIES 2
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @giulianam,

From your description, I could not figure out what filters you want to apply in the data and the relationship between them and I could not understand the sentence “for example istogram” stands for which visual, I guess the Clustered column chart, right? If you want to show in this chart with a customer bar by the sum of all sales incomes below of 1.000 USD and filtered by a column, you could refer to below steps:

1.I have entered some sample data like the picture below:

L.PNG

2.Create a calculated column

Column = IF([SalesIncome]>1000,[Item],"Other group")

3.Create a Clustered column chart and add the related field.

LL.PNG

4. Create a Slicer and add the [Item] field, now you can use the slicers to show the value.

LLL.PNG

If I misunderstood you, could you please offer me more information about your data structure and the type of visual or share your pbix file if possible?

 

 

You can also download the PBIX file to have a view.

https://www.dropbox.com/s/riie50wrbv6hqr4/How%20to%20show%20in%20one%20single%20bar%20of%20a%20chart...

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Daniel,

 

thank you very much for your help.

First of all I confirm the type of chart I meaned is Clustered column chart.

Your explanation is perfect, but I'm looking for a solution in case of data as follows:

 

excel_example.png

 

Item B and C are grouped in one single bar because the sum of incomes of each Item is lower than 1.000 USD, but if I add another row for item B so that the total incomes of this item are more than 1.000 USD, it should be showed in another column B and the group "< 1000 USD" should includ only item C.

 

I hope it is clear now.

 

Thank you!

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.