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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Show data by month without accumulated total

Hi in the chart below, I am connecting to a query that has 3 years of data and the shorter darker portion of the chart shows the total in a month, and the lighter longer portion is the total all time.  I just want to show the monthly portion and use a slicer to select the year and month.  I am not able to figure out how to show just this.  My apologies if this has been asked before, I wasn't able to find what I was looking for.  Thanks in advance.

 

stackedbar.jpg

 

 

 

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

 Hi @Anonymous ,

 

To create a measure as below and create a bar chart.

 

Measure = CALCULATE(SUM(vunits[UNITS]),ALLEXCEPT(vunits,vunits[CITY]))-SUM(vunits[UNITS])

Capture.PNG

 

Pbix as attached.

 

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

4 REPLIES 4
v-frfei-msft
Community Support
Community Support

 Hi @Anonymous ,

 

To create a measure as below and create a bar chart.

 

Measure = CALCULATE(SUM(vunits[UNITS]),ALLEXCEPT(vunits,vunits[CITY]))-SUM(vunits[UNITS])

Capture.PNG

 

Pbix as attached.

 

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

Could you please share your sample data and excepted result to me if you don't have any Confidential Information.Please upload your files to One Drive and share the link here.

 

 

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

Anonymous
Not applicable

Hi frfei, 

I've attached some sample data.  I want to aggregate it by month and display in a bar chart.  Using the play axis slicer I would like to play through each month and see the total of each month only.  Instead what I am seeing when I use the play slicer is the total all time stacked on top of total for month.  So the length on the total all time remains static and the inner bar showing the month to month aggregate changes over time.  I would like to see only the monthly data and remove the all time data portion.

 

sample data

 

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors