Skip to main content

Power BI

New

Do not use red underlining for valid DAX code

Vote (1) Share
Kenneth Barber's profile image

Kenneth Barber on 23 May 2023 01:19:52

Red underlining is normally used to indicate an error in a DAX expression, but it also appears for certain types of valid DAX code such as (but not limited to):

  • SELECTCOLUMNS when a column is selected without being renamed (e.g. SELECTCOLUMNS('Table','Table'[Column]))
  • COLUMNSTATISTICS, any column from it, and some variables that refer to it


Please correct the red underlining so that is used only on invalid DAX code.