Forum Discussion
Filter array of negative values
Hello everyone
How can I allow users to display negative values in an array. I want the user to be able to filter ATP as negative/positive.
I have a matrix like below -
Material ? Stocks ? ATP (Medida)
3 Replies
- amitchandakSuper User
Sdhn420 ,
create an independent table with values negative and positive and try like
measure =
if(selectedvalue(sign[sign]) ="positive" , sumx(filter(summarize(Table,Table[Material] ,Table[Stock],"_1" [ATP]),[_1]>=0),[_1])
, sumx(filter(summarize(Table,Table[Material] ,Table[Stock],"_1" [ATP]),[_1]<0),[_1]))- Sdhn420Helper IV
amitchandak the problem is that the ATP measure is created from two different tables. (Stock and Order).
The matrix is formed from 3 table values.
- v-lionel-msftCommunity Support
Hi Sdhn420 ,
Do you mind sharing your .pbix file?
Or show us sample data.
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.