> 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
