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
rajesh2001
Advocate I
Advocate I

Using Slicer to Ge data for Rolling 3 Months

Hi All,

 

I have a requirement where when the user selects a particular Fiscal period like FY 17 - Q1 , it should automatically get the previous 2 quarters data with the current one 

 

Slicer Value Selected : FY17-Q1

 

Data To be Shown:

 

Fiscal Qtr   Revenue

FY16 Q3  - 100$

FY16 Q4  -  80 $

FY17 Q1  - 90 $

 

Our calendar is a customized calendar and does not start on the first day of every month for each fiscal period .

Any help is appreciated  

 

I have tried different options but came up blank in acheiving this .

 

1 ACCEPTED SOLUTION
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @rajesh2001,

 

I think we need to create two tables in this scenario. The tables look like this:

 

Using Slicer to Ge data for Rolling 3 Months.jpg

 

 

 

 

 

 

 

 

 

 

 

The bridge table could use this formula:

BridgeTable = values(ForSlicer[column2])

Finally, create relationships(the direction should be "both"). ForSclier->BridgeTable->Calendar.Using Slicer to Ge data for Rolling 3 Months1.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Please refer to this post: problem-with-calculation-many-to-many. It's almost the same with yours.

 

Best Regards!

Dale

 

 

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

View solution in original post

2 REPLIES 2
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @rajesh2001,

 

I think we need to create two tables in this scenario. The tables look like this:

 

Using Slicer to Ge data for Rolling 3 Months.jpg

 

 

 

 

 

 

 

 

 

 

 

The bridge table could use this formula:

BridgeTable = values(ForSlicer[column2])

Finally, create relationships(the direction should be "both"). ForSclier->BridgeTable->Calendar.Using Slicer to Ge data for Rolling 3 Months1.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Please refer to this post: problem-with-calculation-many-to-many. It's almost the same with yours.

 

Best Regards!

Dale

 

 

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

Thanks a lot Dale . This solution helps 

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