March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Do not work connection to odbc datasources in power bi service when i try to set schedule update If I get data from odbc with invoke custom function.
I have a table:
I have a custom function:
let Source = (source as text, nametable as text) => let query = Odbc.Query(source, "select * from "& nametable) in query in Source
Next step I invoke custom function and get data from table1 from odbc source1 and source2
let Source = {"dsn=source1","dsn=source2"}, #"Table From List" = Table.FromList(Источник, Splitter.SplitByNothing(), 2,"table1", ExtraValues.Error), #"Rename Columns" = Table.RenameColumns(#"TableFromList",{{"Column1", "source"}, {"Column2", "nametable"}}), #"Invoke Custom Function" = Table.AddColumn(#"RenameColumns", "getData", each getData([source], [nametable])) in #"Invoke Custom Function"
Next step I try to set schedule update with gateaway in power bi service and got connection error.
But If I get data in this query, schedule update is work.
let Source = Odbc.Query(source, "select * from "& nametable) in Source
Has anyone faced this problem? Can you help, pls?
Hi @petrovnikitamai,
I made a test following your steps, also I got this kind of error message. Is that the same as yours? Currently , dynamic custom function is still not supported on power bi service. so this issue will occur.
Regards,
Frank
Hello @v-frfei-msft! Thx for answer. Yes, I get the same error. Do you know another way How can I union same tables from 2 or more odbc datasource with support schedule update. I don't want write query every time for each datasource, i want dynamically add or delete name of datasource in one place and get data automatically?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
25 | |
21 | |
11 | |
10 | |
9 |
User | Count |
---|---|
48 | |
30 | |
18 | |
17 | |
15 |