cancel
Showing results for 
Search instead for 
Did you mean: 

ForEach Help (Losing aggregation)

former_member636231
Discoverer
0 Kudos

Hi,

How can I keep my value when I delete 'Day', As you can see below each row is returning 1 instead of 4,4,5,6.

Accepted Solutions (0)

Answers (3)

Answers (3)

saurabh_sonawane
Active Contributor
0 Kudos

Hi

Please try this

complaince = If([target]>[actual];0;1)

=Count([complaince] In ([week];[Day]) Where ([complaince]=1))

Thanks,

ayman_salem
Active Contributor
0 Kudos

Just hide the day column (do not delete)

amitrathi239
Active Contributor
0 Kudos

What is the calculation of Compliance column?

try with changing the variable qualification to dimension and then use foreach() in the final avriable including of date object