Forum Discussion
JayJay11
2 years agoResolver II
Problem with variables and dynamic API query
Hello all, so I am trying to use OData with a specific URL to retrieve data from SAP HANA. The URL string that I want to send looks as the following: $select=CompanyCode,AccountingDocument,Le...
- 2 years ago
Again, this is not producing what I want, as it is adding things at the end of the string.
I solved it like that:
@concat('&$filter=PostingDate gt datetime''',substring(variables('vReferenceDateTime'), 0, 10), 'T00:00:00''')
Anonymous
2 years agoNot applicable
Hi JayJay11 ,
@formatDateTime(utcnow(),'yyyy-MM-ddTHH:mm:ss zzz')
Can you check this format and let me know if that works?
JayJay11
2 years agoResolver II
Again, this is not producing what I want, as it is adding things at the end of the string.
I solved it like that:
@concat('&$filter=PostingDate gt datetime''',substring(variables('vReferenceDateTime'), 0, 10), 'T00:00:00''')- Anonymous2 years agoNot applicable
Hi JayJay11 ,
Glad to know that your query got resolved. Please continue using Fabric Community for your further queries.