> For the complete documentation index, see [llms.txt](https://docs.finopscenter.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.finopscenter.com/agent-bill-amazon-quickchat-for-finops-center/functional/update-dataset-refresh.md).

# Update Dataset Refresh

As your datasets grow, the SPICE datasets can be adjusted to run incremental from the default Full. Unfortunately, the refresh can't be done via the UI and needs to be via CLI.

Below are is the CLI

```
# Dataset 1: d922b670-c864-42be-916e-41c87ba467ef
aws quicksight put-data-set-refresh-properties \
    --aws-account-id XXXXXXXXXXXX \
    --data-set-id d922b670-c864-42be-916e-41c87ba467ef \
    --data-set-refresh-properties '{
        "RefreshConfiguration": {
            "IncrementalRefresh": {
                "LookbackWindow": {
                    "ColumnName": "usage_date",
                    "Size": 2,
                    "SizeUnit": "DAY"
                }
            }
        }
    }'

# Dataset 2: b2830a54-0ded-477d-95b8-297f286f2368
aws quicksight put-data-set-refresh-properties \
    --aws-account-id XXXXXXXXXXXX \
    --data-set-id b2830a54-0ded-477d-95b8-297f286f2368 \
    --data-set-refresh-properties '{
        "RefreshConfiguration": {
            "IncrementalRefresh": {
                "LookbackWindow": {
                    "ColumnName": "usage_date",
                    "Size": 2,
                    "SizeUnit": "DAY"
                }
            }
        }
    }'

# Dataset 3: 97578d20-f2b1-426b-97bb-ef305d10f482
aws quicksight put-data-set-refresh-properties \
    --aws-account-id XXXXXXXXXXXX \
    --data-set-id 97578d20-f2b1-426b-97bb-ef305d10f482 \
    --data-set-refresh-properties '{
        "RefreshConfiguration": {
            "IncrementalRefresh": {
                "LookbackWindow": {
                    "ColumnName": "usage_date",
                    "Size": 2,
                    "SizeUnit": "DAY"
                }
            }
        }
    }'

# Dataset 4: 5f58ac65-3572-4eea-98b6-71bc2bf6a653
aws quicksight put-data-set-refresh-properties \
    --aws-account-id XXXXXXXXXXXX \
    --data-set-id 5f58ac65-3572-4eea-98b6-71bc2bf6a653 \
    --data-set-refresh-properties '{
        "RefreshConfiguration": {
            "IncrementalRefresh": {
                "LookbackWindow": {
                    "ColumnName": "usage_date",
                    "Size": 2,
                    "SizeUnit": "DAY"
                }
            }
        }
    }'

# Dataset 5: 33259e2a-c7cd-4b32-88f2-3c8baed3e3c3
aws quicksight put-data-set-refresh-properties \
    --aws-account-id XXXXXXXXXXXX \
    --data-set-id 33259e2a-c7cd-4b32-88f2-3c8baed3e3c3 \
    --data-set-refresh-properties '{
        "RefreshConfiguration": {
            "IncrementalRefresh": {
                "LookbackWindow": {
                    "ColumnName": "usage_date",
                    "Size": 2,
                    "SizeUnit": "DAY"
                }
            }
        }
    }'

# Dataset 6: 0364df80-c403-4d1e-99b4-d48a8810bca8
aws quicksight put-data-set-refresh-properties \
    --aws-account-id XXXXXXXXXXXX \
    --data-set-id 0364df80-c403-4d1e-99b4-d48a8810bca8 \
    --data-set-refresh-properties '{
        "RefreshConfiguration": {
            "IncrementalRefresh": {
                "LookbackWindow": {
                    "ColumnName": "usage_date",
                    "Size": 2,
                    "SizeUnit": "DAY"
                }
            }
        }
    }'
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.finopscenter.com/agent-bill-amazon-quickchat-for-finops-center/functional/update-dataset-refresh.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
