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

Reply
cassoli2019
Regular Visitor

Oracle PowerShell RealTime Push

Good night,

I have been trying to send Oracle data via PowerShell for some time to stream to PowerBI, unsuccessfully so far.

I would be very grateful if someone could help me.

Below the script that I tried to assemble:

$endpoint = "https://api.powerbi.com/beta/aabfeafc-82d3-42f6-bec6-dba6ddbc5428/datasets/6712ca6e-2054-4e18-9583-c..."
while($true)
{
Add-Type -Path C:\ODP.NET_Managed_ODAC122cR1\odp.net\managed\common\Oracle.ManagedDataAccess.dll
$username = "username"
$password = "password"
$datasource = "datasource"
$connectionString = "User Id=$username;Password=$password;Data Source=$datasource"
$Qtde = "SELECT COUNT(CONHECIMENTO_ID) FROM FISCAL.CONHECIMENTO WHERE DATA_EMISSAO >= SYSDATE-1"
$TCte = "SELECT SUM(TOTAL_CONHECIMENTO) FROM FISCAL.CONHECIMENTO WHERE DATA_EMISSAO >= SYSDATE-1"
$payload = @{
"QTDE" =$Qtde
"TOTAL_CTE" =$TCte
}
Invoke-RestMethod -Method Post -Uri "$endpoint" -Body (ConvertTo-Json @($payload))
sleep 20
}

Tks
1 REPLY 1
v-diye-msft
Community Support
Community Support

Hi @cassoli2019 

 

Sorry, I can't fix it on my side, please kindly raise your issue to support team for better advice:

https://powerbi.microsoft.com/en-us/support/

Support Ticket.gif

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors