Cost Control
You know how to go to one account, show one category and narrow a cost control set to one company, effect or tag with a filter.
A cost control set holds every account of the budget it was made from. Three tools show you a part of it: the search box takes you to one account, the categories rail shows one category, and a filter shows only what matches, for example one company. None of them changes a value in the set. You can use all three on every set you can open, including a set shared with you for viewing only.
The search box **Search...** is at the top of the details panel on the right. Type part of the name or number of a group, an account or a markup; upper and lower case make no difference. KOSMA lists up to 50 matches below the box. Each match shows the name with the typed letters in bold and, below it, its path from the category down to the match itself, for example Crew / Camera, Grip & Sound / Camera Operator. Click a match. KOSMA selects its category in the rail, scrolls the grid to the row and selects it. The grid keeps all its rows while you search. To close the list without picking a match, press `Esc`.
Search does not find categories or cost items. To find cost items across all accounts, for example by booking reference or booking date, use the [Cost Item List](/kb/article/work-with-the-cost-item-list).
Under **Categories**, the rail on the left lists the categories of the budget and, at the end, one row for each markup subtotal. Click a category. The grid shows only its groups and accounts. Click a markup row to see the markups. When you open the set, KOSMA selects the first category. One category or the markups are always selected; the rail has no row that shows all categories at once.
The categories in the rail show no amounts. Below them, **Grand Totals in {currency}** shows six figures for the whole set, and selecting a category does not change them. The bottom row of the grid, **Totals in {currency}**, adds up only the category the grid shows. For what the six figures mean, see [read the grand totals](/kb/article/read-the-grand-totals).
In the toolbar, click  **Filter**. KOSMA opens the filter panel above the grid with one empty row. In **Select type**, choose what to filter by, such as **Company**, **Effect** or **Tag**. Then choose **is** or **is not**, and then a value or **empty**. For **Budget**, **Prediction** and **Cost item value**, you choose a comparison and enter an amount instead. Click **Apply**. KOSMA shows only what matches.
To add a row, click  **Filter** in the filter panel. A filter has up to four rows, and KOSMA shows only what matches all of them. To remove a row, click  **Delete** in it; the last row cannot be removed. **Apply** stays greyed out until you change a row. It also stays greyed out while two rows are the same.
These types are in the list only in Cost Control:
| Type | Shows | | --------------------------- | ------------------------------------------------------------------------------------------------------- | | **Is cost item** | with **is**, the accounts that have at least one cost item; with **is not**, the accounts with none yet | | **Outdated cash flow rule** | the cost items whose cash flow rule set a payment before today and that have no pay date | | **Budget** | the accounts whose budget fits the comparison | | **Prediction** | the accounts whose forecast estimate, or their budget where no estimate is set, fits the comparison; booked cost items do not count | | **Cost item value** | the cost items whose amount fits the comparison |
After **Apply**, the rail lists only the categories with a match, and the grid shows only the matching accounts. **Grand Totals in {currency}** then add up only what the filter leaves. If no category has a match, the rail shows:
**Message:** No Categories Matched
An account also stays in the grid when only one of its cost items matches. Its **Cost Items** panel then shows only the matching cost items. Only **Company**, **Effect**, **Tag**, **Attachment** and **Budget** filter markups. A filter never hides the cost items of a markup. While a filter is applied, search finds only the accounts the filter leaves.
A filter by **Company**, **Effect** or **Tag** also keeps an account that matches through its own company, effect or tag. Its cost items that do not carry that value then drop out. With **Fringes**, **Extra costs**, **Budget** or **Prediction**, every cost item of a matching account drops out. **Paid**, **Expected** and **Free** of that account, and so the Grand Totals, then count only the cost items that are left. **Budget** stays the budget of the whole account, not the share of the filtered company or effect. **Forecast** of an account with subaccounts counts only the subaccounts that carry the company, effect or tag, unless you typed a forecast for the account. While the filter is applied, **Forecast** can therefore be lower than **Budget**.
The Excel export of the set and the printed cost report follow the applied filter too. For printing, see [print a cost report](/kb/article/print-a-cost-report).
Closing the filter panel with  **Filter** in the toolbar leaves the filter applied. To see the whole set again, click **Reset** in the filter panel. KOSMA clears every row.
Markdown