Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Microsoft Translator Support?

Hi,   I was planing to use the Microsoft Translator support for translating text in Power BI. Similar to the following example: https://www.youtube.com/watch?v=jZQ4BZmtseo . Base on the post https:...
  • Anonymous's avatar
    Anonymous
    8 years ago

    Hi v-huizhn-msft,

     

    I was able to fix that issue.

     

    First, to avoid the issue  "A web API key can only be specified when a web API key name is provided" I had to set the "Data source settings" to "Anonymous". Because the M code is providing the API key logic there is no need to specify the key in the GUI of Power BI.

     

    Second, in Power BI are two kinds of Data source settings: "Data source in current file" and "Global permissions". As far as I experienced it, the permission settings for the URL I'm using should be the same in either Global or Current File setting. Not sure if this is 100% correct but it worked for my case. Therefore, I set it credential type to "Anonymous" and privacy level to "None".

     

     

    Afterwards I received the error message "Formula.Firewall: Query references other queries or steps, so it may not directly access data source. Please rebuild this data combination". To get rid of this error I set Power BI to ingore the Privacy in either Global or Current File setting under Option as mentioned in http://community.powerbi.com/t5/Desktop/Formula-Firewall-Query-references-other-queries-or-steps/td-p/150725.

     

     

    Now, the translation feature is working without any errors.

     

    Thanks for your help.

     

    Cheers,

    Dom