Forum Discussion

UncleLewis's avatar
UncleLewis
Responsive Resident
4 years ago
Solved

Crossjoin Returns Error

Hi,

 

Using PBI Desktop 2.97 (September, 2021)

 

I have 2 table in the Data Model : Date, Profit Center

I tried using these in a CROSSJOIN:

Test = CROSSJOIN('Date','Profit Center')
But it returns an error: The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.
 
However, the formula seems correct based on this article:
https://docs.microsoft.com/en-us/dax/crossjoin-function-dax

What am I doing wrong?

Thanks,
-w