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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jhayes0128
Frequent Visitor

Relationship - Calendar to single table with montly/weekly/daily values

I have a single table [Table1] that I need to join to my calendar table. [Table1] contains both budget/LE/actuals at different time intervals.

 

[Table1]

DateTypeValue
1/1/2021Budget50
1/1/2021LE60
1/1/2021Actual1.1
1/2/2021Actual1.4
1/3/2021Actual1.2
1/4/2021Actual1.5
1/5/2021Actual0.9
1/6/2021Actual0.5
1/7/2021Actual1.7

 

[Calendar]

DateWeekMonth
1/1/202112/28/20201/1/2021
1/2/202112/28/20201/1/2021
1/3/202112/28/20201/1/2021
1/4/20211/4/20211/1/2021
1/5/20211/4/20211/1/2021
1/6/20211/4/20211/1/2021
1/7/20211/4/20211/1/2021

 

I have a relationship between [Table1]Date and [Calendar]Date. This works fine for looking at measures at a monthly level, but not at a weekly/daily level due to this relationship.

 

How can I write a measure where each day has Budget = 50?

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Compare the YearMonth value of the calendar date to the YearMonth value of the Date in Table1 and fetch the budget value.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Compare the YearMonth value of the calendar date to the YearMonth value of the Date in Table1 and fetch the budget value.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.