Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a variable vsxs1 that is used in the expression:
=Sum ({$<[Location Name]={'$(vsxs1)'}>}[Rent Amount])
This works fine if only one Location Name has been selected. Example vsxs1 = Building A
But it does not work if more than one Location Name has been selected. Example vsxs1 = Building A, Building B
Hoping there is an easy fix for this?
Use it like this:
=Sum ({$<[Location Name]={$(vsxs1)}>}[Rent Amount])
and inside the variable:
=concat( distinct chr(39) & [Location Name],chr(39) &',') & chr(39)
Sorry but this doesn't work.
Use it like this:
=Sum ({$<[Location Name]={$(vsxs1)}>}[Rent Amount])
and inside the variable:
=concat( distinct chr(39) & [Location Name],chr(39) &',') & chr(39)
That works! Thanks!