Forum Discussion
ElvirBotic
Helper III
4 years agoCount Inspections for each Location Once and only Once
I have a dataset where I need to count completed Inspections for each location and count it only once. I will create a table of mock data I am working with. The users will inspect different locations...
johnt75
Super User
4 years agoRename the original measure to Individual Inspections and then create a new measure as
Total Inspections = IF( ISINSCOPE( 'Data'[Site]), [Individual Inspections],
SUMX( ADDCOLUMNS( SUMMARIZE( 'Data', 'Data'[Site], 'Data'[Type]),
"@value", CALCULATE( [Individual Inspections] ), [@value] )
)ElvirBotic
Helper III
4 years agoI had no luck with this 😞