19.2
19.1
18.2
18.1
17.2

# Window Definition

A window definition specifies a window that limits measure values participating in a calculation. To learn more, see Window Calculations Overview.

## Dashboard Item Window Definition

The following table lists window definitions in terms of the Pivot dashboard item. A calculation is performed using the Index function along the following directions.

Direction

Description

Example

Columns

A calculation is performed horizontally through Pivot columns.

In this example, a window is a combination of Country/Category dimensions. Rows

A calculation is performed vertically through Pivot rows.

In this example, a window is a combination of Year/Quarter dimensions. Columns / Rows

A calculation is performed horizontally through Pivot columns, then rows.

In this example, a window is the entire pivot table. Rows / Columns

A calculation is performed vertically through Pivot rows, then columns.

In this example, a window is the entire pivot table. Columns within Groups

A calculation is performed horizontally through Pivot columns within groups.

In this example, a window is a combination of the Country/Category and Year dimensions. Rows within Groups

A calculation is performed vertically through Pivot rows within groups.

In this example, a window is a combination of the Year/Quarter and Country dimensions. Columns / Rows within Groups

A calculation is performed horizontally through Pivot columns then rows within groups.

In this example, a window is a combination of Country/Year dimensions. Rows / Columns within Groups

A calculation is performed vertically through Pivot rows, then columns within groups.

In this example, a window is a combination of Country/Year dimensions. * Group - an area that is limited by a set of values corresponding to the bottommost partitioning dimensions.

## Specific Window Definition

If necessary, you can manually specify the set of dimensions that fall into the window. These dimensions are called window dimensions.

For instance, the Index function is applied to measure values of the pivot table below using the OrderDate (Year) and Country window dimensions. The Specific Window Definition dialog allows you to do this.
{"ft_lang_label":"__label__en","ft_lang_prob":0.8272003,"math_prob":0.9478483,"size":2154,"snap":"2019-51-2020-05","text_gpt3_token_len":395,"char_repetition_ratio":0.15813954,"word_repetition_ratio":0.3426791,"special_character_ratio":0.17502321,"punctuation_ratio":0.10714286,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97804064,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20],"im_url_duplicate_count":[null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-01-27T15:55:59Z\",\"WARC-Record-ID\":\"<urn:uuid:a9aa1907-4b40-49f5-ba84-da419072a2bb>\",\"Content-Length\":\"75474\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:bde7b43c-7b90-4bea-b1e9-8a8c8cb5530b>\",\"WARC-Concurrent-To\":\"<urn:uuid:9ef7b8d2-8a90-4033-80c3-0b4a179724a0>\",\"WARC-IP-Address\":\"52.175.254.10\",\"WARC-Target-URI\":\"https://docs.devexpress.com/Dashboard/116298/create-dashboards/create-dashboards-in-the-winforms-designer/data-analysis/window-calculations/window-definition\",\"WARC-Payload-Digest\":\"sha1:IRPM2BFYCDJGL66RLNOTZ2UPI4S2YRVS\",\"WARC-Block-Digest\":\"sha1:HMTHCCETRFU53N72MIWOBKVJ3HJL7V2Z\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-05/CC-MAIN-2020-05_segments_1579251700988.64_warc_CC-MAIN-20200127143516-20200127173516-00321.warc.gz\"}"}