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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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