cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
giulianam Frequent Visitor
Frequent Visitor

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
Community Support Team
Community Support Team

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

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.
Highlighted
giulianam Frequent Visitor
Frequent Visitor

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

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!