---
metadata:
  - name: generator
    content: Diplodoc Platform v5.63.0
alternate:
  - en/troubleshooting/errors/ERR-DS_API-FORMULA-VALIDATION-WIN_FUNC-NO_AGG
  - ru/troubleshooting/errors/ERR-DS_API-FORMULA-VALIDATION-WIN_FUNC-NO_AGG
  - href: en/troubleshooting/errors/ERR-DS_API-FORMULA-VALIDATION-WIN_FUNC-NO_AGG.md
    type: text/markdown
    title: Markdown version
csp:
  - script-src:
      - https://mc.yandex.ru
    img-src:
      - https://mc.yandex.ru
    connect-src:
      - https://mc.yandex.ru
      - wss://mc.yandex.ru
    child-src:
      - 'blob:'
      - https://mc.yandex.ru
    frame-src:
      - 'blob:'
      - https://mc.yandex.ru
    frame-ancestors:
      - 'blob:'
      - https://mc.yandex.ru
canonical: en/troubleshooting/errors/ERR-DS_API-FORMULA-VALIDATION-WIN_FUNC-NO_AGG.html
title: DataLens On-premises error ERR.DS_API.FORMULA.VALIDATION.WIN_FUNC.NO_AGG
description: >-
  This page describes the Window function has no aggregated expressions among
  its arguments DataLens On-premises error.
vcsPath: en/troubleshooting/errors/ERR-DS_API-FORMULA-VALIDATION-WIN_FUNC-NO_AGG.md
---

# [DataLens On-premises] Window function has no aggregated expressions among its arguments

`ERR.DS_API.FORMULA.VALIDATION.WIN_FUNC.NO_AGG`

Make sure to use an [aggregated expression](../../concepts/aggregation-tutorial.md#datalens-aggregation) as an argument of your [window function](../..//function-ref/window-functions.md) (window functions must accept measures as arguments).