Skip to content

Commit

Permalink
Merge branch 'm-kovalsky/issue331'
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kovalsky committed Dec 12, 2024
2 parents 8e37efd + db97bc8 commit 07cc88b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sempy_labs/_refresh_semantic_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ def display_trace_logs(trace, partition_map, widget, title, stop=False):
right_on="PartitionID",
how="left",
)
_process_and_display_chart(df, title=title, widget=widget)
if not df.empty:
_process_and_display_chart(df, title=title, widget=widget)
if stop:
df.drop(["Object Name", "PartitionID"], axis=1, inplace=True)
df.rename(columns={"TableName": "Table Name"}, inplace=True)
Expand Down

0 comments on commit 07cc88b

Please sign in to comment.