bertrandmartel/tableau-scraping

Radio Button filtering does not work

yashdubey132 opened this issue · 0 comments

When attempting to use the serFilter() method for a worksheet with radio buttons, no dictionary is returned.

The rendering seems to be happening on the client side so I don't think that's the issue.

Here's my sample code:

from tableauscraper import TableauScraper as TS
import requests

url = "https://public.tableau.com/shared/99WD3TBJK"

ts = TS(delayMs=500)
ts.loads(url)
workbook = ts.getWorkbook()

storypoint = workbook.goToStoryPoint(storyPointId=3)
worksheet = storypoint.getWorksheet("Sources map")
wf = worksheet.setFilter("Scenario","Long term")```