Forum Discussion
Average loop type per project
- 6 years ago
Loop count = countx(filter(Table, [project] =earlier([project]) && [loop type] = earlier([loop type])),[loop type])
Avg Loop =AverageX(filter(Table, [project] =earlier([project])),[Loop count])
harshagraj , not very clear
averagex(values(dim[Project]),max(Table[Count of loop_type]))
or
averagex(summarize(dim[Project],"_1",max(Table[Count of loop_type])),[_1])
- harshagraj6 years agoPost Partisan
Hi amitchandak thanks for the reply. Actually i dont have [Count of loop_type] column i just changed that in value shelf from a table and dragged.
- amitchandak6 years agoSuper User
harshagraj , Not very clear, what you need?
- harshagraj6 years agoPost Partisan
Sorry for the trouble. I have Project Number,Tool Number,Loop Type as columns.
In Loop Type column i have values as (Finished & Planned). Each tool number will have one loop type. So i need Averge loop type per project.
Eg.PRJ-19 21-18 Finished Loop PRJ-19 21-19 Planned Loop So this has 1 Finished and 1 Planeed. So i need to display Average loop as 1.