Text Analytics

Thabo Mofokeng 21 Reputation points
2020-08-29T10:21:54.23+00:00

I return an error with I try to use Text Analytics in Power BI.

Here's the error:

DataSource.Error: An error happened while reading data from the provider: 'The magic number in GZip header is not correct. Make sure you are passing in a GZip stream.'
Details:
DataSourceKind=AIFunctions
DataSourcePath=AIFunctions

Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
353 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,611 Reputation points
    2020-08-31T10:35:45.037+00:00

    @Thabo Mofokeng Thanks for the question.Before using Cognitive Services in Power BI, the AI workload must be enabled in the capacity settings of the admin portal. You can turn on the AI workload in the workloads section and define the maximum amount of memory you would like this workload to consume. The recommended memory limit is 20%. Exceeding this limit causes the query to slow down. Please check if the AI is enabled with the recommended memory limit.
    Please follow the below documents for text analytics in Power BI.
    https://learn.microsoft.com/en-us/power-bi/desktop-ai-insights
    https://learn.microsoft.com/en-us/azure/cognitive-services/text-analytics/tutorials/tutorial-power-bi-key-phrases

    0 comments No comments