Forum Discussion
Jramirej
2 years agoRegular Visitor
Create calculated table to generate new rows as per column value
Hi Team, I am searching for one solution over the internet but am unable to find one. Your support is highly appreciated. I have data like below Appointment Date & Time data format is DateTime ...
- 2 years ago
Alright, DAX calculated table is as following. My sample pbix file has been updated.
Expanded DrTasks = GENERATE( DrTasks, ADDCOLUMNS( GENERATESERIES(0, DrTasks[DurationMin] - 1, 1), "ExpandedDateTime", DrTasks[AppointmentDateTime] + TIME(0, [Value], 0), "DurationMinExpanded", 1 ) )
amustafa
2 years agoSolution Sage
Alright, DAX calculated table is as following. My sample pbix file has been updated.
Expanded DrTasks =
GENERATE(
DrTasks,
ADDCOLUMNS(
GENERATESERIES(0, DrTasks[DurationMin] - 1, 1),
"ExpandedDateTime", DrTasks[AppointmentDateTime] + TIME(0, [Value], 0),
"DurationMinExpanded", 1
)
)