microsoft / microsoft/rayfin

[SQL Database] Server-side Aggregations

Open
#50 0 comments 0 reactions 1 assignee View on GitHub

@bczulauf is already working on this.

Since Jul 29, 2026.

enhancement issue-mapped triaged
Dominant language
No language data
Stars
610
Forks
62
Avg merge
1d 23h
Merged PRs (30d)
3

Description

Problem statement

Hi,

Having built several Rayfin apps by now, we're seeing a clear need for server-side support for aggregations and views, rather than handling all calculations on the client side. Many of our company's Rayfin apps combine operational CRUD functionality with real-time analytics in a single app. For the analytics piece, we currently rely on a Semantic Model to handle aggregations and a custom "service" to execute the DAX queries. This approach works for now, but it requires setting up an additional Enterprise Application just for authentication.
On top of that, some of the data in these apps originates from Azure Stream Analytics and is streamed into a table there.

Proposed solution
  • Add support for creating views or direct aggregations on the server side.
Alternatives considered
  • Using Direct Lake with SQL Semantic Models that already include the aggregation views we need.
Additional context
Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.