To be clear: the data is correct in the table. It's also correctly displayed if I click "edit visualization." It's only the re-run visualization in the notebook / dashboard that is empty when I update a widget to use a different value.
The code looks something like:
location = dbutils.widgets.get("locations")
ids = spark.read.table("production.gold.devices").select("id").where(f"location = '{location}'").distinct().toPandas()['id']
dbutils.widgets.dropdown('device_ids', values=ids, default='', label='Device IDs')
# ... Another cell
device_id = dbutils.widgets.get('device_ids')
spark.read.table("production.gold.data").where(f"location = '{location}' AND device_id = '{device_id}' AND create_time > now() - INTERVAL 30 DAYS")
# PowerBI Linear graph visualization