# Cost Reset

Resetting cost is recommended in the following situations,

* The Price for a meter is changed in the middle of a billing cycle but that needs to be reflected from the beginning of a billing cycle
* Subscription is added to billing lately in the middle of the billing cycle but usage is already collected from the Usage Source for the subscription
* When the cost needs to be calculated for the previous billing cycles during a new installation (applicable for the Usage sources that provide the old data). By default, the cost is calculated starting the current billing cycle.

{% hint style="danger" %}
When the cost is reset, the usage is reprocessed based on the current meters from the month selected.
{% endhint %}

To reset the cost follow the below steps,

* Navigate to Reset Page in the Admin portal which is under Billing -> Monitoring
* Choose the month from which the usage cost must be reset
* Click the 'Reset' button

![](/files/-MGmqGVjVi5m-kHhtm15)

{% hint style="info" %}
Expect reset to take up to 20 mins and cost recalculation to take 1 hour. This can be even higher when a large amount of the usage data is involved. During this time, the cost shown in the dashboard and reports is not up-to-date.
{% endhint %}

* Use below SQL command against Billing Database to check the Reset operation. Result Status should 200 for all the operations.

```sql
select * from Operations with (nolock) where DeploymentId = (select Top 1 DeploymentId from Deployments with (nolock) order by CreatedOn desc)
```


---

# Agent Instructions: 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:

```
GET https://docs.cloudassert.com/hybr/features/admin/billing/resetting-usage-cost.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
