Description
When TABLEOF ( ... ) is passed as an argument to any of the ALL* functions, Tabular Editor appears not to recognise that TABLEOF returns a table reference, and erroneously reports an error of the form
"The ALL* function expects a column or table reference for argument 1."
Tabular Editor 3 Version
3.26.1
Screenshots
Steps to Reproduce
- Open Tabular Editor 3
- File > New > Model
- Untick Use workspace database
- Click OK
- Model > Add Calculated Table
- Name table Dummy
- Enter expression
SELECTCOLUMNS ( { 1, 2, 3 }, "Dummy", [Value] )
- Right-click Dummy > Create Measure
- Name measure DummyMeasure
- Enter expression
CALCULATE ( COUNTROWS ( Dummy ), ALL ( TABLEOF ( Dummy[Dummy] ) ) )
- Observe that
TABLEOF ( Dummy[Dummy] ) is red-underlined with error message "The ALL function expects a column or table reference for argument 1."
Expected behavior
When TABLEOF ( ... ) is passed as an argument to any of the ALL* functions, Tabular Editor should recognise TABLEOF as returning a table reference, and not show a Semantic error.
Crash Report
No response
Windows Version
11
Description
When
TABLEOF ( ... )is passed as an argument to any of theALL*functions, Tabular Editor appears not to recognise thatTABLEOFreturns a table reference, and erroneously reports an error of the form"The ALL* function expects a column or table reference for argument 1."
Tabular Editor 3 Version
3.26.1
Screenshots
Steps to Reproduce
SELECTCOLUMNS ( { 1, 2, 3 }, "Dummy", [Value] )CALCULATE ( COUNTROWS ( Dummy ), ALL ( TABLEOF ( Dummy[Dummy] ) ) )TABLEOF ( Dummy[Dummy] )is red-underlined with error message "The ALL function expects a column or table reference for argument 1."Expected behavior
When
TABLEOF ( ... )is passed as an argument to any of theALL*functions, Tabular Editor should recogniseTABLEOFas returning a table reference, and not show a Semantic error.Crash Report
No response
Windows Version
11