cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
v-danhe-msft Super Contributor
Super Contributor

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

Helpful resources

Announcements
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 138 members 1,635 guests
Please welcome our newest community members: