diff --git a/src/spaceone/dashboard/manager/data_table_manager/data_transformation_manager.py b/src/spaceone/dashboard/manager/data_table_manager/data_transformation_manager.py index e247505..77b4ed8 100755 --- a/src/spaceone/dashboard/manager/data_table_manager/data_transformation_manager.py +++ b/src/spaceone/dashboard/manager/data_table_manager/data_transformation_manager.py @@ -787,6 +787,8 @@ def _sort_and_filter_pivot_table(self, pivot_table: pd.DataFrame) -> pd.DataFram pivot_table = self._apply_order_by(pivot_table, order_by, column_fields) if limit := self.options.get("limit"): + if isinstance(limit, float): + limit = int(limit) pivot_table = pivot_table.iloc[:, : len(self.label_keys) + limit] pivot_table["Sub Total"] = self.total_series.loc[pivot_table.index]