Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello,
don;t know why this is happening and what and how we can fix this issue.
let
// M query script for extracting data from domo using export method
// calling the oauth endpoint for getting the bearer token from domo
AccessToken = Json.Document(Web.Contents("https://api.domo.com/oauth/token?grant_type=client_credentials", [Headers=[Authorization=BasicAuth]])),
// converting result body to table
#"Converted to Table" = Table.FromRecords({AccessToken}),
// changing type for access_token column to text
#"Changed Type Access_Token" = Table.TransformColumnTypes(#"Converted to Table",{{"access_token", type text}}),
// storing the first row value of access_token column into a variable
access_token = #"Changed Type Access_Token"{0}[access_token],
// calling domo export data method endpoint
Export = Csv.Document(Web.Contents("https://api.domo.com/v1/datasets/"&DatasetID&"/data?includeHeader=true&fileName=data-dump01.csv", [Timeout=#duration(0, 0, 0, 10), Headers=[Authorization="Bearer " & access_token]]),[Delimiter=",", Encoding=1252, QuoteStyle=QuoteStyle.Csv]),
// extracting header information from first row
#"Promoted Headers" = Table.PromoteHeaders(Export, [PromoteAllScalars=true]),
#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"AmountTransactionTotal", Currency.Type}, {"MasterDate", type date}, {"Quantity", type number}, {"Contribution%", Percentage.Type}, {"CustomerUpdateDate", type date}, {"TransactionDate", type date}, {"LeadCreatedDate", type date}, {"CreatedDate", type date}, {"LeadCreatedDateTime", type datetime}, {"CustomerUpdateDateTime", type datetime}, {"DateofLastStatusChange", type date}, {"LeadScore", Int64.Type}}),
#"Replaced Value" = Table.ReplaceValue(#"Changed Type","",null,Replacer.ReplaceValue,{"Subsidiary"}),
#"Replaced Value1" = Table.ReplaceValue(#"Renamed Columns","",null,Replacer.ReplaceValue,{"ID"}),
#"Replaced Value2" = Table.ReplaceValue(#"Replaced Value1","",null,Replacer.ReplaceValue,{"Object"}),
#"Renamed Columns1" = Table.RenameColumns(#"Replaced Value2",{{"TeamTerritory", "Team"}})
in
#"Renamed Columns1"
Issue is total dataset has around800k rows and it never gives us any issues when refreshed locally, but when set to refresh on schedule randomly some data will be missing if we check the rows it is around 80k or 100k or 200k. and in the powerbi service it shows refresh succeded.
not really understanding what we can do to fix the issue and what is happening in the first place so that i can point to the cause and do something, its a pretty wide dataset with over 200 columns and 800 - 900k rows.
we have tried increasing the timeout, bascially that is only for making the connection with DOMO, once the connection is established there is nothing to do with it. and these datasets take around 2 mins to refresh in general so we have changed the timeout from 10secs to 10mins with same effects.
Domo export API doesn't provide a way for us to query data, so inremental refresh is not an option in our case.
Hi @sun-sboyanapall,
Thank you for your feedback.
Which workspace is your data in? Pro or Premium?
Power BI Pro subscription or smaller workspace capacity, the refresh process may result in some data being lost or not being added.
In addition, we suggest you consider reducing unnecessary columns or dividing the dataset into smaller parts (splitting the table), which can help improve performance and reduce problems when refreshing.
This is on a premium per user workspace, and is it mentioned any where that having x no of columns or yMB size dataset has issues?
and as i am saying this issue doesn't happen everytime but some times which is the main issue.
Hi @sun-sboyanapall,
Set a longer timeout parameter in the API request to compare the result:
Timeout=#duration(0, 0, 30, 0)
In addition, we suggest you use incremental refresh features in Power BI to capture fast-moving data and enhance performance.
Best regards,
Joyce
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.