microsoft / Analysis-Services

Git repo for Analysis Services samples and community projects
MIT License
608 stars 417 forks source link

Using LINESTX within a measure creates warnings #218

Open ay5h opened 1 year ago

ay5h commented 1 year ago

I've created a measure that uses the LINESTX function and the DAX definition must reference the columns that are part of the returned table of the function, such as Slope1 and Intercept, see docs: https://learn.microsoft.com/en-us/dax/linestx-function-dax

These create warnings in the validation since they look like measures that are supposed to be defined already in the model.

It could be confusing for others who aren't familiar with the details of the DAX but are making edits and then might be trying to resolve this warning.

image