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.
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]
Date | Type | Value |
1/1/2021 | Budget | 50 |
1/1/2021 | LE | 60 |
1/1/2021 | Actual | 1.1 |
1/2/2021 | Actual | 1.4 |
1/3/2021 | Actual | 1.2 |
1/4/2021 | Actual | 1.5 |
1/5/2021 | Actual | 0.9 |
1/6/2021 | Actual | 0.5 |
1/7/2021 | Actual | 1.7 |
[Calendar]
Date | Week | Month |
1/1/2021 | 12/28/2020 | 1/1/2021 |
1/2/2021 | 12/28/2020 | 1/1/2021 |
1/3/2021 | 12/28/2020 | 1/1/2021 |
1/4/2021 | 1/4/2021 | 1/1/2021 |
1/5/2021 | 1/4/2021 | 1/1/2021 |
1/6/2021 | 1/4/2021 | 1/1/2021 |
1/7/2021 | 1/4/2021 | 1/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?
Solved! Go to Solution.
Compare the YearMonth value of the calendar date to the YearMonth value of the Date in Table1 and fetch the budget value.
Compare the YearMonth value of the calendar date to the YearMonth value of the Date in Table1 and fetch the budget value.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
78 | |
75 | |
49 |
User | Count |
---|---|
145 | |
108 | |
107 | |
89 | |
61 |