I´m using Analysis Service to make some data mining work. I already made the predictions with Sql Server Data Tools. Now i wanted to make the same prediction with dmx.
I´m using the next dmx code:
CREATE MINING MODEL [Cassandra]
(
[CompanyNK] TEXT KEY,
[Date] Date KEY TIME,
[Total Value Mes] Double Continuous Predict,
[New Items Month] Long Continuous,
[Number Branches] Long Continuous,
[Number Clients] Long Continuous,
[Number Salesman] Long Continuous
)
USING Microsoft_Time_Series(AUTO_DETECT_PERIODICITY = 0.8, FORECAST_METHOD = 'MIXED')
WITH DRILLTHROUGH
But i get the following error:
Error (Data mining): Usage of all non-key columns in the 'Cassandra' mining model must be set to PredictOnly.
This should work, because in SSDT i only have one variable set to "predict" and i have none set to "predict only". Some help would be awesome.
Thanks in advance. Helder Borges