Forum Discussion
Artefact
Helper II
2 years agoExtra parenthesis added after saving file
Hi, Sometimes PBI adds a lot of extra parenthesis at the end of a DAX formula. Till now after copy paste the formula they don't show up again. But now PBI keeps adding them and returns an error on t...
bhanu_gautam
Super User
2 years agoArtefact , Try using Variables
VAR AgeAverage = AVERAGE(workorder_time[Age in years])
VAR TotalSpent = [Total spent time]
RETURN
IF (
OR (
AND (AgeAverage > 29, TotalSpent > 55),
AND (AgeAverage < 30, TotalSpent > 50)
),
"#4287f5"
)