Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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!