The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Good day,
I hope someone can help me with the following.
I have the below data.
As you can see in 2020, in week 7, the employee worked 8 hours on monday, 8 hours on tuesday and so on.
Unfortunately, there are only days mentioned (MO, TU etc), not dates (10/2/2020 - 16/02/2020).
I am looking for a solution to translate the days into dates.
The info is coming from 2 tables, as mentioned below.
Thanks!
John
This is how it looks now:
YEAR | WEEK | MO | TU | WE | TH | FR | SA | SU |
2020 | 7 | 8 | 8 | 8 | 8 | 8 | 0 | 0 |
And this is what I am looking for:
YEAR | WEEK | 10/2/2020 | 11/02/2020 | 12/2/2020 | 13/2/2020 | 14/2/2020 | 15/2/2020 | 16/2/2020 |
2020 | 7 | 8 | 8 | 8 | 8 | 8 | 0 | 0 |
this are the 2 tables:
HRM_TIMECARD:
HR_TIMECARDLINE
Solved! Go to Solution.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Hi Allison,
This is what I was looking for!
Thanks!!!
John
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
79 | |
72 | |
48 | |
41 |
User | Count |
---|---|
138 | |
108 | |
69 | |
64 | |
57 |