Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
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
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 68 | |
| 59 | |
| 44 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 108 | |
| 105 | |
| 37 | |
| 26 | |
| 26 |