Forum Discussion
Child tasks indent into parent tasks.
- 8 years ago
hi,@bix
Here is an idea without drilldown, just visual indenting of the taskname, assumed you have a SortIndex within your datasource or can generate it.
You could calculate a column "IndentedTaskName" by prepending blanks depending on the level of the task.
In case you do not have the task-level information, maybe you could calculate that too: for example if ID starts with "F." then TaskLevel=0 otherwise TaskLevel = number of dots in ID
If you only have two levels as in your screenshot it would be even simpler:
TaskLevel = IF(Left('Tasks'[ID]; 2)= "F."; 0; 1)
IndentedTaskName = CONCATENATE(REPT(" "; [TaskLevel]); [TaskName])
Using conditional formatting, you could then style the tasks depending on TaskLevel.
I think the ID column of your screenshot does not contain the parent child relationship and sort order of tasks.
Best Regards,
Florian
Data source is cloud. Following is the screen shot, it's just simple table in power BI. Please assist me to use drill down function if is possible by drill down. You can consider me as beginner. I think this could be possible by scripting.
F.1 is a parent and 5 alpha-numaric ID are child. All parent tasks are in format of F.1
bi.
hi,@bix
Here is an idea without drilldown, just visual indenting of the taskname, assumed you have a SortIndex within your datasource or can generate it.
You could calculate a column "IndentedTaskName" by prepending blanks depending on the level of the task.
In case you do not have the task-level information, maybe you could calculate that too: for example if ID starts with "F." then TaskLevel=0 otherwise TaskLevel = number of dots in ID
If you only have two levels as in your screenshot it would be even simpler:
TaskLevel = IF(Left('Tasks'[ID]; 2)= "F."; 0; 1)
IndentedTaskName = CONCATENATE(REPT(" "; [TaskLevel]); [TaskName])
Using conditional formatting, you could then style the tasks depending on TaskLevel.
I think the ID column of your screenshot does not contain the parent child relationship and sort order of tasks.
Best Regards,
Florian
- Anonymous8 years agoNot applicable
Thanks.
So far, ID column indented. But still I am looking for to Bold or change color for specific row. Such as, I want to bold or color change of parent task or milestone.