Forum Discussion
Anonymous
3 years agoNot applicable
Counting Active Processes
I want to create a calculated table or measure or visual which takes in a date and returns the count of the amount of processes which were in progress on that date. For example: Process s...
- Anonymous3 years ago
I managed to get this to work how I wanted it to.
the table on the left is named ExampleData.
First I created a table of times from the data:
TimeTable = GENERATESERIES(MIN('ExampleData'[start time]),MAX('ExampleData'[end time]))Then I used the following measure :ActiveProcesses =var MaxTime = MAX('TimeTable'[Value])var MinTime = MIN('TimeTable'[Value])RETURNCALCULATE(COUNT('ExampleData'[Process])+0,MaxTime >= 'ExampleData'[start time],MinTime <= 'ExampleData'[end time])Then I am able to plot 'Timetable'[value] against ActiveProcesses for the desired effect.
Ahmedx
3 years agoSuper User
pls see my video
https://1drv.ms/v/s!AiUZ0Ws7G26RiSNORKRMHvAwGVLO?e=ooRecY
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.