diff --git a/metaphor/tableau/extractor.py b/metaphor/tableau/extractor.py index 8c98229f..129bfeb8 100644 --- a/metaphor/tableau/extractor.py +++ b/metaphor/tableau/extractor.py @@ -525,7 +525,11 @@ def _parse_workbook_query_response( custom_sql_source.account if custom_sql_source else None ), source_datasets=source_datasets or None, - url=f"{self._base_url}/workbooks/{workbook.vizportalUrlId}", + url=( + dashboard.source_info.main_url + if dashboard.source_info + else None + ), ), entity_upstream=( EntityUpstream(source_entities=source_datasets)