cancel
Showing results for 
Search instead for 
Did you mean: 
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
Microsoft
Microsoft

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

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!

Helpful resources

Announcements
‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Top Solution Authors
Top Kudoed Authors