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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors