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
Hi all,
I have a large workschedule table (see example blue table) for employees, only with start datetime (so no end datetime)
Now I want to know the scheduled hours per employee/day/type. See the white answer column for what I need.
Note that the first column dayscheduleid is a unique number column, ordered from oldest number to number.
The solution may be created as a calculated column in M (preferred). A DAX calculated column is also OK. A measure is not preferred.
see here the link to the blue table that you can use in PowerBI desktop: https://www.dropbox.com/scl/fi/c6kbneps1701l9u8505iz/Workschedule.xlsx?dl=0&rlkey=9kmaqjcf3tk82o9ezv...
Thanks!
Solved! Go to Solution.
I found a solution myself using
1) create a new Index column
I found a solution myself using
1) create a new Index column
Hello @FilipFireFlyBI ,
check if this solution would work for your case
https://youtu.be/6JA6uy3ZRBA
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
thanks for fast reply but that was not the solution.
reason is that in my problem I need the next row.
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 |
---|---|
112 | |
80 | |
74 | |
52 | |
50 |
User | Count |
---|---|
132 | |
124 | |
78 | |
64 | |
61 |