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
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
Employee
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
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.