March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I would be grateful for any assistance with my latest challenge in PowerBI/PowerQuery
I have a table that records engineer recurring activities on a single row with a start and end date .....
I need to extrapolate these to another table with one row per engineer per day per activity, like so ...
I've been struggling with this for days ...
Thanks
Solved! Go to Solution.
Thank for the reply. In the end I actualy resolved this ... I discovered CROSSJOIN and CALENDER and used these to dynamically create the new table in DAX
Hi Pcav
You could try adding an extra column in the Query Editor using this formulae:
Table.AddColumn(#"Previous Step","Date", each {Number.From([StartDate])..Number.From([EndDate])})
That will create a list of all the dates between your start and end (inclusive). You can then expand the column out using the little icon in it's header and it'll create a row per person per day. Once you've expended the Date column out you'll need to format it as a date otherwise it'll look like a bunch of numbers - those numbers are actually date codes.
Thank for the reply. In the end I actualy resolved this ... I discovered CROSSJOIN and CALENDER and used these to dynamically create the new table in DAX
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
108 | |
73 | |
53 | |
52 | |
44 |
User | Count |
---|---|
161 | |
110 | |
69 | |
58 | |
50 |