Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
qwertzuiop
Advocate III
Advocate III

How to edit bar chart?

Hello PowerBI-Community

As you can see below, I have created a bar chart by displaying push messages in a certain period of time. The push messages can be assigned to a customer (here customer = ?).

 

I would like to create a second bar chart, which ONLY considers the respective customer (in this case customer=?)

In this case, the second bar diagramm would show only the filled blue area.

This allows me to better visually see how a customer's push messages differ per day.

 

Unbenannt.PNG

 

How can I do that? I have the attributes date, number of push messages & customer number.

 

I am incredibly grateful for your help.

Have a nice day

 

Cheers

qwertzuiop

1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi @qwertzuiop ,

 

You may create measure like DAX below, then put the measure into value box of chart visual.

 

Count push messages =CALCULATE(COUNT(Table1[push messages]),ALLSELECTED(Table1[customer number]))

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xicai
Community Support
Community Support

Hi @qwertzuiop ,

 

You may create measure like DAX below, then put the measure into value box of chart visual.

 

Count push messages =CALCULATE(COUNT(Table1[push messages]),ALLSELECTED(Table1[customer number]))

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi @qwertzuiop 

 

What about if you create a measure that sustract the push messages from the customer from the sum of all push messages? 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.