Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Token comma expected and connection to Oracle

Hi,

 

I'm trying to connect to a table in my TOOLKIT enviornment, which a specific WAVE and Oracle Target Enviornment (UAT). When I'm trying to load the table into PowerBI the error: Token Comma expected. 

 

Does anybody know how to solve this problem? When I leave the query out, the table is just empty.

 

let
Query= BEGIN SOURCE.SET_CONTEXT_API.SET_CONTEXT[(WAVE, ALL)] END;
SELECT TARGET.SET_TARGET_ENV(UAT)
FROM DUAL; Bron = Oracle.Database("osl2286.dnvgl.com:1521/TOOLKIT", [HierarchicalNavigation=true]),
SOURCE = Bron{[Schema="SOURCE"]}[Data],
ABSENCE_BALANCES1 = SOURCE{[Name="ABSENCE_BALANCES"]}[Data]
in
ABSENCE_BALANCES1

Status: Needs Info
Comments
v-haibl-msft
Microsoft Employee

@jgelderblom

 

How about the result if you remove 'Query= BEGIN SOURCE.SET_CONTEXT_API.SET_CONTEXT[(WAVE, ALL)] END; SELECT TARGET.SET_TARGET_ENV(UAT) FROM DUAL; '?

 

Best Regards,
Herbert

 

 

Vicky_Song
Impactful Individual
Status changed to: Needs Info
 
jgelderblom
New Member

 Hi Herbert,

 

Then I just get an empty table, because of the fact that de source and target enviornment hasn't been set. 

 

Regards,

 

Jeroen