Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Power BI API doesn't disable Direct Query, but example on reference says it should

There seems to either be a bug with the documentation or with the API. https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/update-direct-query-refresh-schedule    When sending the "Disable...
  • TomMartens's avatar
    3 years ago

    Hey Anonymous ,

     

    as you have noticed the API does not affect the Caching in DQ mode that helps to pre-populate Dashboard and Reports.
    From my knowledge you can use this setting:

    You will find this setting in the dataset settings, of course this setting is only available for DQ datasets.

     

    Regards,

    Tom