Forum Discussion
Apply filters on REST API JSON POST request
- 1 year ago
Ok i've figured why i had this problem, my segment was set to "one selection" so there was always an item selected, the problem was the api downloaded the report with this selcection, then tried to filter it. i just had to uncheck "only one selection", uncheck everything, save the report, then i could filter my report!
Try the same but with a table visual, not a slicer.
First, thx a lot for the response (and sorry for my bad english) but i don't get it,
should the filter be active on both anyway?
i tried dozens of lines i remember one with "reportlevelfilters" i never managed to get rid of the errors and another one with "visuallevelfilters" i tried both on the slicer and on the table but, as the first one i posted here goes to the end without errors, give me the pdf, but filter arent applied.
pdf still exactly the same.
I'm totally new about JSON, first script ever. it's hard to pass the "error..." (took me several days....) but now its seems to go through correctly...but nothing, i don't even know where to look to know where goes the rest of my command.
- lbendlin1 year ago
Super User
In your report page you have a slicer visual. These behave different from other visuals when it comes to filtering. Try the same process but switch the visual type from slicer to table.
- Jdrien1 year agoFrequent Visitor
I did it, nothing seems to be selected now:
but this is only a test page, the original page i have to turn into filtered pdf got 3 slicer visuals and i cant replace them with tables.
there has to be a way to manipulate the slicers!- lbendlin1 year ago
Super User
So the filter did not work on the table visual? You will want to fix that first.