Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I need a formula that needs to count a purchase order excluding one value in a dimension.
In my dimension [HA Description Action] their are 3 values : Active, Canceled, Pending
A purchase order can have 2 statues : Canceled and Pending. The dimension is [Num BC]
I want to count the purchase orders that are canceled BUT not Pending.
I tried : count(distinct (if ([HA Description Action]='Active', not match ([HA Description Action]='Pending', [Num BC])))
Please hep me
Maybe try
count(distinct(if( HA Description Action] = 'Active' AND [HA Description Action] <> 'Pending',[Num BC])))
try this
count({<[HA Description Action]- ={'Pending'},[HA Description Action]={'Active' } >}distinct [Num BC])
use the -= sign
ex:
count(distinct ({<[HA Description Action]-={'Pending'}>}[BC Number])
Att,
Matheus
The subject of the topic being resolved, close the topic with the solution found.
Thanks,
Matheus
Maybe try
count(distinct(if( HA Description Action] = 'Active' AND [HA Description Action] <> 'Pending',[Num BC])))
try this
count({<[HA Description Action]- ={'Pending'},[HA Description Action]={'Active' } >}distinct [Num BC])
Thanks alot! It works 😃