# Capacities

{% embed url="<https://www.youtube.com/watch?v=qQbat3QZ0l4>" %}

This portal feature facilitates the management of Microsoft Fabric or Power BI Embedded capacity efficiently.

It aims to reduce costs and adjust capacity size to meet demand peaks, providing more effective administration, especially in usage-based billing models.

### Capacity management types

To manage capacities, whether Microsoft Fabric or Power BI Embedded via the portal, there are three ways:

**Manual:** When accessing the capacity menu and having completed all necessary prior configurations, the feature will be displayed, along with a button to turn on and off. Here, the administrator can be responsible for managing the resource.

**On demand:** Here, Power Embedded automatically activates the capacity when a user tries to access a report. This only happens if the user has permission at the user or group level. When it reaches the inactivity time you define, it is paused to avoid billing.

**By Schedule:** In this method, you can plan when the capacity should be turned on and off and even change the capacity by schedule. This offers more predictable control over resources, allowing adjustment according to demand or specific usage times.

**Change capacity:** In this action, you can schedule a time for your capacity to change SKU, that is, during very high peak consumption times you can increase this resource and when consumption decreases you can reduce to a lower capacity.

{% hint style="warning" %}
It is important to note that when a capacity is turned off, the user cannot view the report and the dataset is not updated.

It is crucial to plan the usage schedule to avoid possible failures in the environment.
{% endhint %}

### Menu features

Below is a description of the menu features.

<figure><img src="/files/C5Rkqz4AFnfA2aqzEqDh" alt=""><figcaption></figcaption></figure>

**Filter**: Allows searching by capacity name, useful when there are several capacities listed.

**Reload:** Used after configuring in the Azure Portal to update capacity metadata and display the control button.

**Export:** Allows exporting data to Excel or CSV, including capacity table information.

**Turn On/Off**: Button to start or pause the capacity manually.

When clicking the **actions** button, a list of features is displayed.

* **Edit:** Used for initial configurations and cost optimization.
* **Remove:** Removes the capacity from Power Embedded management.
* **Entity Audit:** View of activities performed by users who access the administration portal. Learn more in [Entity Audits](https://github.com/dirceuresende/docs-power-embedded-english/blob/main/administration-portal/auditorias/entidades-alteracoes.md).
* **Capacity Audit:** Details actions that occurred with the capacity over time. Learn more in [Capacity Audit](https://github.com/dirceuresende/docs-power-embedded-english/blob/main/administration-portal/auditorias/capacidades.md).


---

# 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.powerembedded.com/administration-portal/artifacts/capacities.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.
