Forum Discussion
Jdrien
2 years agoFrequent Visitor
Apply filters on REST API JSON POST request
hello, I'm trying to call the powerBI REST api (JSON) i can get the page i want and creat the pdf, but i cant' manage to apply filters, I've created a really simple page for tests (just a s...
- 2 years 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!
lbendlin
Super User
1 year agoI don't think mixing report level filters and visual interactions is a good idea. But go ahead, try it out.
fabyx
1 year agoFrequent Visitor
Hallo lbendlin do you by chance know how i can find documentation for visual interaction. i tried using
pages: [
{
pageName: "ReportSection9",
visuals: [
{
visualName: "f986f3cfa280c2986e82",
interactions: [
{
value: "M",
},
],
},
],
This is not working
also somthing like this
but i seem to be wrong, do you have any idea of how i can go around this
thanks
This is not working
also somthing like this
pages: [
{
pageName: "ReportSection9",
visuals: [
{
visualName: "f986f3cfa280c2986e82",
filters: [
{
filter: `tablename/culumn eq 'M'`,
overrideDefaultFilters: true,
},
],
},
],
},
],
thanks