Forum Discussion
Anonymous
5 years agoNot applicable
How to create custom filter
Hello. I have two tables. First has product id and appropriate value, while the second has countries which have made the trade. So if I select one product the second table shows countries which have ...
v-lili6-msft
5 years agoCommunity Support
hi Anonymous
For your case, you need to create a parameter for a slicer, you could just use what if parameter to get it.
https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-what-if
Then use this parameter measure as a conditional as below:
Measure = SUMX(FILTER(VALUES('Table'[product id]),[Total values]>[Parameter Value]),[Total values])
If you still have problem, please share your sample pbix file and your expected output.
Regards,
Lin