# Metric weight maps

Weight maps are generated for each metric for every fiscal unit set in com.glide.fiscal_calendar.fiscal_unit property.

Weight map is JSON, which holds the weighted breakups to allocate accounts for a metric. Allocation or rollup based on weighted metrics works only if correct weight map is generated for a given fiscal period.

The Preview Weight Map in the Weighted Metric Builder form shows how the weight is split across the accounts for a given fiscal period. The Weight Map Preview list view shows the total number of weights and the date and time the weight map was last generated. You can generate or regenerate the weight map using the Force Generate Weight Map option if the current weight map is not correct or is not yet generated.

Pre-generated weight maps for the fiscal period also helps in the performance of allocation workbench to avoid generating weight maps spontaneously while allocation page is still in the process of loading.

Following is an example to understand weight maps and percentage allocation if metric is used: