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
ryan0521
Frequent Visitor

Calendar: Get the last date after filter

Hello Geniuses,

 

I have 1 Main table with a "Date" column, then I made a new table with this formula "

Rolling periods = CALENDAR (FIRSTDATE('Income Periodical'[Date]),LASTDATE('Income Periodical'[Date]))" 
 
However, what I want is, If I filter the dates using slicer from the Main table, the new table should refresh too.
 
Example:
 
Main Table
Itemdate
11-Jan
21-Feb
31-Mar
41-Apr
51-May
61-Jun
71-Jul
81-Aug
9

1-Sep

 

New Table

 

Date
1-Jan
2-Jan
3-Jan
4-Jan
5-Jan
6-Jan
7-Jan
8-Jan
until December 31

 

If I filter Main table from the Report, NOT IN THE TABLE, I want that the New table will refresh.

 

Main Table filtered until March

Itemdate
11-Jan
21-Feb
31-Mar

 

New Table 

Date
1-Jan
2-Jan
3-Jan
4-Jan
5-Jan
6-Jan
7-Jan
8-Jan
until March 31

 

 

Hope you can help me, I've been looking for this one for almost 1 week LOL. 

2 REPLIES 2
Anonymous
Not applicable

Hello Ryan,

 

Unfortunately, the outcome you are looking for is not possible that way. The tables are created before slicers are read and measures are calculated.

 

Have you tried creating a relationship between 'Income Periodical'[Date] -> 'Rolling periods'[Date] and using 'Rolling periods'[Date] in the slicer to achieve the result you are looking for?

 

Kind regards,

Alex

@Anonymous  yes, but what I need is, I have a rolling 13 months and after I filter the dates the rolling months doesn't move.

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 Kudoed Authors