Skip to content

Commit 8f570d1

Browse files
Learn Build Service GitHub AppLearn Build Service GitHub App
authored andcommitted
Merging changes synced from https://github.com/MicrosoftDocs/query-docs-pr (branch live)
2 parents 047d25f + b43858a commit 8f570d1

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

query-languages/dax/best-practices/dax-user-defined-functions.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Use DAX user-defined functions (preview)"
33
description: Best practices for using DAX user-defined functions.
44
author: hsteffens30
55
ms.author: jterh
6-
ms.topic: conceptual
6+
ms.topic: article
77
ms.date: 09/15/2025
88
---
99

@@ -554,6 +554,13 @@ General:
554554
- No 'create function' button in the ribbon.
555555
- Cannot combine UDFs with translations.
556556
- UDFs are not supported in models without tables.
557+
- No 'define with references' quick query in DAX query view.
558+
- [Object-Level Security (OLS)](/fabric/security/service-admin-object-level-security) does not transfer to functions or vise versa. For example, consider the following function `F` that refers to secured measure `MyMeasure`:
559+
```dax
560+
function F = () => [MyMeasure] + 42
561+
```
562+
563+
when the `MyMeasure` is secured using object-level security, function F is not secured automatically. If `F` runs under an identity without access to `MyMeasure`, it acts as if `MyMeasure` doesn’t exist. We recommend to avoid revealing secure objects in function names and descriptions.
557564
558565
Defining a UDF:
559566
- Recursion or mutual recursion is not supported.

0 commit comments

Comments
 (0)