Hello,
I’m trying to do a progress on an inventory count. I have zones set up and I want employees to verify or request a change in these zones. I have a virtual column set up and a new view for the people doing the auditing, and I’d like to run
Count(Select(Inventory[Is Verified?],[Zone] = [_THISROW].[Zone]))
Which works, but, I want it to count every row in column Is Verified? except for any blank columns. Any help is appreciated.
Steve
September 21, 2022, 7:34pm
2
I can not seem to get the syntax correct to include and and isnotblank into the expression.
Steve
September 21, 2022, 7:55pm
4
The docs have plenty of examples.
What have you tried?
I’ve tried a few different combinations, most recently:
AND(
Count
(Select
(Inventory[Is Verified?], [Zone] = [_THISROW].[Zone], ISNOTBLANK(Inventory[Is Verified?])
)
)
)
I’ve also tried this, which does not error out, but it still only gives a total count of rows and not the specified:
Count
(Select
(Inventory[Is Verified?], [Zone] = [_THISROW].[Zone],
AND
(ISNOTBLANK(Inventory[Is Verified?]), ([Is Verified?]=" ", " ")
)
)
)
Maybe I’m just too dumb for this.
Ok,
I was able to do this with the following:
COUNT(FILTER(“Inventory”, AND(ISNOTBLANK([Is Verified?]), ([Zone] = [_THISROW].[Zone]))))
1 Like