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

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

Reply
aschwanbeck
Regular Visitor

Dynamic Variance - Multiple Slicer Selection

I have a situation in which I am attempting to perform a dynamic variance calculation of year on year revenues based on the selection of two separate slicers (year).  I can calculate the variance with the year as a fixed variable; however, the fact that the different slices are based on the same year field but different values of that field are presenting a challenge when attempting to make it dynamic.

 

Calculating the revenues isn't a problem as I can isolate the slicers to the cards by which to perform the calculation.  However, I would also like to provide the end user with the ability to choose the years by which to perform a dynamic variance calculation.  

 

Revenue (Year1) - Revenue(Year2) = Variance

 

I hope that makes some sense.  

 

Any help or recommendation would be greatly appreciated!

 

Thanks!

1 ACCEPTED SOLUTION

Of course.  I ended up creating a duplicate connection to the SQL view that I was using.  By duplicating the data set, I was able to truly differentiate between the data that was being filtered via the multiple slicers. 

View solution in original post

3 REPLIES 3
aschwanbeck
Regular Visitor

This challenge has been solved. 

Hi @aschwanbeck,

 

Glad to hear that it has been resolved by yourself. Would you please share the solution so that it can benefit more users?

 

Thanks,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Of course.  I ended up creating a duplicate connection to the SQL view that I was using.  By duplicating the data set, I was able to truly differentiate between the data that was being filtered via the multiple slicers. 

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.

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