Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello Guys,
How to make a proper syntax for this query in TMDL view for remote semantic model (DirectLake over OneLake)?
createOrReplace
function GetBudgetHexColor = ( v: double, actionName: string ) =>
IF (
ISBLANK ( v ),
BLANK (),
MAXX (
FILTER (
Fmt_BudgetRules,
Fmt_BudgetRules[IsActive] = TRUE ()
&& Fmt_BudgetRules[ConditionActionName] = actionName
&& v >= Fmt_BudgetRules[ThresholdLowerPercent]
&& v < Fmt_BudgetRules[ThresholdUpperPercent]
),
Fmt_BudgetRules[HexColor]
)
)
This is not working.
Best,
Jacek
Solved! Go to Solution.
Problem solved, compatibility level of semantic model has to be changed to 1702...
best,
Jacek
When I tested udf in a remote symentic model , it is working for me.
need more information if any error code etc
Proud to be a Super User!
Problem solved, compatibility level of semantic model has to be changed to 1702...
best,
Jacek
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 65 | |
| 31 | |
| 26 | |
| 26 |