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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
jdcooley719
Regular Visitor

Pulling Minimum Period Number

Good day internet,

 

I'm relatively new to Power BI; but trying to learn the ins and outs. My first probem I've encountered is trying to create a relationship between the dates in my sales table and the date/calender table already existing in my data set. I have one table called GL_PERIODS that contains the year, the period start date, and the period value associated. I also have another table called Date Key that is just a master list of all dates between 2003-2050. What I'm trying to do is associate the GL_PERIOD[PERIOD_NUMBER} column with these master dates, however I don't have a column that defines the end of the period. My company operates on a 4/4/5 calendar which makes the whole process more complicated than just using calendar dates. 

 

So, to summarize; I'm trying to create a calculated column for my table 'Date Key' which currently just has the [Date] column. I want this calculated column to tell me the period that exists in the 'GL_PERIOD'[PERIOD_NUMBER] column when the date is on, or after the earliest possible 'GL_PERIOD'[PERIOD_START] value. Thank you for any help you can provide!

0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.