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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
pmccurry55
Frequent Visitor

Help with Slicer

I have a chart that has stacked columns containing actuals and budget side by side for each month with multiple business units per column(shown in image). I am just wondering how I can create a slicer that will filter for each business unit(IHSD, IPS, etc) for all months and both actuals and budget? I should mention that I had to make the business units (actuals and Budget per Business unit) as measures.

Been stuck on this for a minute.

Screenshot 2025-02-20 105736.png

1 ACCEPTED SOLUTION

Yes it will, here's a mockup of that: 

Alex_Sawdo_0-1740084413065.png

And the field well if needed: 

Alex_Sawdo_1-1740084443161.png

 

View solution in original post

4 REPLIES 4
Alex_Sawdo
Resolver II
Resolver II

Optimally, you should take a look at your data structure to better support this. Something like this would make building a visual like this much easier:

PeriodBusiness UnitAmount TypeAmount
Oct-24IHSDActual99.85
Oct-24IHSDBudget108.04
Oct-24IPSActual60.49
Oct-24IPSBudget61.79

Then, you'd need 1 measure such as:

 

Total Amount = 
CALCULATE(SUM(Amount))

 

Then for your X-Axis you'd enter in Period first then Amount Type second, with Business Unit in the legend. Then adding in a slicer for Business Unit will enable filtering the data by an individual business unit easier. 

Will this still allow for the structure that I have with my chart with the stacked columns side by side under one month?

Yes it will, here's a mockup of that: 

Alex_Sawdo_0-1740084413065.png

And the field well if needed: 

Alex_Sawdo_1-1740084443161.png

 

Thanks so much that was a huge help!  One question remaining and maybe I am just being dumb abou tthis, but how would I create a measure to calculate the variance between Actuals and Budget per month?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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