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! Learn more

Reply
m4xon
Helper III
Helper III

Show 5 next periods depend of user selection on the selection slicer

Hi, 

 

I have following problem, I have a table with quarters from 2022 to 2025, but need to show only 5 quarters on it. 

Starting Q should be the quarter selected by user on the slicer and at this point I have a problem, because I cannot add a disconnected table with YYYY-Q, as this slicer also filters other visualisations. How to solve that problem?

 

Thank you!

Max

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @m4xon 

You can create a calculated table that lists all quarters, and then format the table so that it contains only quarters in YYYY-Q format.
Create a measure to capture the user's selection from the slicer. This metric will determine the starting quarter. Next, create a measure to calculate the 5 quarters starting from the selected quarters. To make sure that the slicer affects other visualizations, make sure it's connected to the same data model and that the relationships are set up correctly.

 

How to Get Your Question Answered Quickly 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data)

Best Regards

Yongkang Hua

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
Anonymous
Not applicable

Hi, @m4xon 

You can create a calculated table that lists all quarters, and then format the table so that it contains only quarters in YYYY-Q format.
Create a measure to capture the user's selection from the slicer. This metric will determine the starting quarter. Next, create a measure to calculate the 5 quarters starting from the selected quarters. To make sure that the slicer affects other visualizations, make sure it's connected to the same data model and that the relationships are set up correctly.

 

How to Get Your Question Answered Quickly 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data)

Best Regards

Yongkang Hua

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

@Anonymousthanks, yes I have two solutions, one with no related quarters table or calculated table as you mentioned. which option is better from performance perspecitve?

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