Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Good Afternoon
Im trying to calculate Budget figure year to date, the budgets figures are in a different table to sales. The Budget table has 3 columns for date- year, ,month, week, whereas the date Value is a complete date e.g. day, month, year
Could anyone help, please?
thanks
Ire_2022
Solved! Go to Solution.
@Ire_2022 , Using week and year create a date and use that to join to common date table
Date from week =
var _year = date([Year],1,1)
var _wyear = _year +-1*WEEKDAY(_year ,2)+1
return
_year + [Week]*7
Join this date with the date of the date table, also join the date table with the sales table. IF needed split the data into days
Hi @Ire_2022,
Did the above suggestion help with your scenario? if that is the case, you can consider Kudo or accept the helpful suggestions to help others who faced similar requirements.
If these also don't help, please share more detailed information to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
@Ire_2022 , Using week and year create a date and use that to join to common date table
Date from week =
var _year = date([Year],1,1)
var _wyear = _year +-1*WEEKDAY(_year ,2)+1
return
_year + [Week]*7
Join this date with the date of the date table, also join the date table with the sales table. IF needed split the data into days
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
76 | |
55 | |
36 | |
34 |
User | Count |
---|---|
99 | |
56 | |
53 | |
44 | |
40 |