Forum Discussion
harshagraj
6 years agoPost Partisan
Average loop type per project
HI all, I need average loop type for the below table. loop_type column is a dimension. Thanks in advance. Need to display this in a card. I have a project slicer to filter. Project ToolNo ...
- 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
6 years agoPost Partisan
Hi amitchandak thanks for the solution. But it is need working please correct the highligted error
countx(filter(Table, [project] earlier([project]) && [loop type] = earlier([loop type])),[loop type]).
amitchandak
6 years agoSuper User
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])