Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Can anyone please help with this?
I have a filter on this column ( Employee) using Alternate state A and
and I want to write expression to say if the user has selected a value in that employee filter ( state A) or in other words, there is a value in that filter. then do my calculation:
if getselectedcount in this employee column ( state A ) =1, sum ( Salary ) , other 0.
( i need to use alternate state for employee cus i need to unrelated this column to the other columns)
Thanks
Q
To add another condition you can use the statement "or" like below:
if (GetSelectedCount(Employee, false(), 'state A' ) or ( "another condition" ),
Sum( {Exployee = selected value in state A} Salary),
0)
Hi @JLL72
You can do that way:
if (GetSelectedCount(Employee, false(), 'state A' ), Sum(Salary),0)
I hope that help you!
I have another filter in Column Location using state B
not sure if i can do 2 states in a set analysis
Try like below
=if(GetSelectedCount(Employee, True(), 'StateA'), Sum({<Employee=StateA::Employee>}Salary),0)
To add another condition you can use the statement "or" like below:
if (GetSelectedCount(Employee, false(), 'state A' ) or ( "another condition" ),
Sum( {Exployee = selected value in state A} Salary),
0)