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
Srinivas3350
Helper II
Helper II

Need Urgent help in calculating with slicer selection

I am having requirement that i need to show resepective of my selection in the slicer it needs to show previous FC 
 example lets say we have  Forecast 11 which is FC11 so when ever i select FC11 in the slicer the top table should show same values for FC11 but in the bottem table It needs to show FC10. can anyone help how to acheive this with a measure or however you suggest. 

Srinivas3350_0-1701277473246.png

Thanks

srinivas

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Srinivas3350,

I think you may need to use if statement to check the current hierarchy level and write Dax expression to calculate the corresponding result.

Clever Hierarchy Handling in DAX - SQLBI

BTW, it seems like you are work with text value instead of numeric or date type values, I'd like to suggest you use the current text value to find out correspond date ranges. Then you can use these date range to find out previous fiscal date and use in Dax expression as filter condition to calculate.

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @Srinivas3350,

I think you may need to use if statement to check the current hierarchy level and write Dax expression to calculate the corresponding result.

Clever Hierarchy Handling in DAX - SQLBI

BTW, it seems like you are work with text value instead of numeric or date type values, I'd like to suggest you use the current text value to find out correspond date ranges. Then you can use these date range to find out previous fiscal date and use in Dax expression as filter condition to calculate.

Regards,

Xiaoxin Sheng

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.