The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,😀
I'm trying to create a data table and getting the following error,
DateTable =
ADDCOLUMNS (
CALENDAR (MIN('ITD Projects'[Created date]), MAX('ITD Projects'[Finish date])),
"Year", YEAR([Date]),
"Quarter", "Q" & FORMAT(QUARTER([Date]), "0")
)
The expression refers to multiple columns. Multiple Coumns cannot be converted to a scalar value.
I have changed both Created date and Finish date to date types.
Please help.
Thanks,
Solved! Go to Solution.
Hi @kamini
Based on the error message, are you possibly trying to create a measure rather than a table?
The DAX expression itself looks fine for a calculated table.
Try selecting Modeling > New table and entering the expression. Does that work?
Hi @kamini
Based on the error message, are you possibly trying to create a measure rather than a table?
The DAX expression itself looks fine for a calculated table.
Try selecting Modeling > New table and entering the expression. Does that work?