Skip to content

Commit

Permalink
fixed issue 331
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kovalsky committed Dec 8, 2024
1 parent 05f2849 commit db97bc8
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 db97bc8

Please sign in to comment.