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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
paulberaud
Frequent Visitor

You can't schedule refresh for this semantic model because the following data sources currently dont

Hello,

 

I have the following query in a power bi report which I uploaded to Power BI service.:


let
// Read all pages of data.
// After every page, we check the "NextLink" record on the metadata of the previous request.
pages = GetAllPages(indexName, "file"),

 

#"Expanded _source" = Table.ExpandRecordColumn(pages, "_source", {"owner", "last_access", "extension", "last_change", "filesize", "dupe_md5", "doctype", "PII", "filename", "indexing_date", "filehash", "path_parent", "host_path", "last_modified", "named_entities", "group", "dupe_last_modified", "dupe_first_created", "rules_name", "rule_outcome", "category"}, {"owner", "last_access", "extension", "last_change", "filesize", "dupe_md5", "doctype", "PII", "filename", "indexing_date", "filehash", "path_parent", "host_path", "last_modified", "named_entities", "group", "dupe_last_modified", "dupe_first_created", "rules_name", "rule_outcome", "category"}),

 

#"Expanded _source.named_entities" = Table.ExpandRecordColumn(#"Expanded _source", "named_entities", {"NamedLocations", "NamedPeople", "NamedOrganisations"}, {"NamedLocations", "NamedPeople", "NamedOrganisations"}),

 

#"Expanded _source.PII" = Table.ExpandRecordColumn(#"Expanded _source.named_entities", "PII", {"HasPhone", "HasPCI", "HasPerson", "HasPII", "HasEmail"}, {"HasPhone", "HasPCI", "HasPerson", "HasPII", "HasEmail"}),

 

#"Removed Blank Rows" = Table.SelectRows(#"Expanded _source.PII", each not List.IsEmpty(List.RemoveMatchingItems(Record.FieldValues(_), {"", null}))),

 

#"Changed Type" = Table.TransformColumnTypes(#"Removed Blank Rows",{{"last_access", type datetime}, {"last_change", type datetime}, {"indexing_date", type datetime}, {"last_modified", type datetime}})

 

in

#"Changed Type"

 

When I try to refresh this report in Power BI Service it gives me the following error:
"You can't schedule refresh for this semantic model because the following data sources currently don't support refresh: Data source for Query1"

 

I'm assuming the error refers to the query.

 

A little more info around this:

- The report connects to an 'http' adress (elastic server).

- When I click on Data Source settings it shows the following "c:\users\names\microsof....json"

 

The main question I have is if the refresh error message I'm getting is related to the query or the json file (which I don't have access to)?

 

If it's related to the query, I'd appreciate if someone could guide me in the right direction to fix it. Not necessarily expecting a full blown solution, but some direction as to what to review or change and I should be able to figure it out from there.

 

Thank you!

 

1 ACCEPTED SOLUTION
aj1973
Community Champion
Community Champion

Hi @paulberaud 

Most likely it is related to the Local File "c:\users\names\microsof....json". For this you need a Gateway installed in your machine or upload the file to an online service and then change the connector.

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @aj1973 , Happy new year - I am facing similar issue, What if I dont see to schedule the refresh option enabled on the Power BI service even after connecting a sharepoint file on web as a dataset (semantic model)?

aj1973
Community Champion
Community Champion

Hi @Anonymous 

Happy new year to you as well.

It means that you are live connected or there is a problem in edting your credentials.

Can I see details via screenshots please?

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

aj1973
Community Champion
Community Champion

Hi @paulberaud 

Most likely it is related to the Local File "c:\users\names\microsof....json". For this you need a Gateway installed in your machine or upload the file to an online service and then change the connector.

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.