Am creating a table from original with filter condition, where my filter value is from SELECTEDVALUE
Table is not getting filtered on SELECTEDVALUE, if I replace with a real value then it works.
Code (doesn't work)
TransGt5 =
var seletectedQuanity = SELECTEDVALUE(QuantityFilter[Quantity])
return CALCULATETABLE(
Transactions,
FILTER(
ALL(Transactions),
Transactions[Quantity] >= seletectedQuanity
))
Code works file with hard coded value:
TransGt5 =
var seletectedQuanity = SELECTEDVALUE(QuantityFilter[Quantity])
return CALCULATETABLE(
Transactions,
FILTER(
ALL(Transactions),
Transactions[Quantity] >= 3
))
what am doing wrong?
