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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Nivram
Regular Visitor

Kalender limitation

Hello Power BI Community,

 

I need your help again:

 

In my data model I have a calendar table for the whole year 2023. This calendar table has a relationship in the data model to the dates in 3 other tables.

 

Nivram_0-1683793649490.png

 

Now I want to control the whole thing with a Time Slizer.

 

If I now set the date from the calendar table into the slizer, the whole thing works, but since the calendar table is created for the whole year, the whole year is also displayed in the slizer (with 0 values in the future, since the 3 tables which are controlled via the relationship do not yet contain any data).

 

Nivram_1-1683793700165.png

 

So I would need a measure in the calendar which only limits the date to the previous full (today it would be week 18) calendar week.

 

With which formula could the measure work?

Thanks for your help 🙂

 

2 REPLIES 2
lbendlin
Super User
Super User

Is that calendar table set to import mode? If yes, how often is it refreshed?

Hi, 

 

Yes it will be imported from a Excel fie. 

 

In Excel, each day in 2023 is entered as one column. The dataset updates itself once a day. The values in the calendar do not change, it only serves as a date dimension.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.