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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
kishu2012
Regular Visitor

Need to capture the value selected in Slicer and use that value in other calcualtions

Hi All,

 

I would like to capture the value selected in the slicer and use that value in the further calculation. For example, if the user selects the year 2015 and a particular event in 2015, along with 2015 data, I also would like display 2014 data for that particular event.

 

Appreciate any inputs.

 

Thanks in advance!

Kishan

 

2 REPLIES 2
v-caliao-msft
Microsoft Employee
Microsoft Employee

Hi @kishu2012,

 

To achieve this requirement, you need to create a dynamic calculated column, the column value should changed along with the selected items in slicer. However, calculated column value is calculated when your power report initially run, and will not be re-calculated no matter which itmes you selected in slicer. So currently, I am afraid your requirement cannoe be achieved. Thank you for your understanding.

 

Regards,

Charlie Liao

 

Sean
Community Champion
Community Champion

@kishu2012

Previous Year Measure = CALCULATE ( SUM ( Table[Value] ), PREVIOUSYEAR ( CalendarTable[Date Column] ) )

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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