The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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?