We want to develop Cortana skills such that when asked a question it queries the dataset in Power BI and returns an answer in speech. For example, the user asks Cortana, "Which customer had the highest default rate last week?" Cortana queries the dataset in Power BI and answers, "John Doe". How can we use Cortana skills and Power BI to build a solution which satisfies this requirement? or any ideas maybe using Azure Bot Services, Application insights... with Cortana?
Thanks
This would be a cool example! And it is definitely do-able. There is no current example
on bot service samples.
There are a couple ways you could approach it. You could use Power BI app deep links, where the Cortana skill maps speech to a known dashboard or report, or you could build a model that ties right in to Power BI data.
For the latter, you'd need to create a bot and add the Cortana channel. Inside your bot, you'd need to get an access token and pass it off to Power BI's REST API to get whatever you need. I believe you could use Cortana's Connected Services to do this. Check out connected services, how Graph oauth works and getting access tokens. Then check out using Power BI for develoers to see what API to use (get dashboard, report, dataset, etc.) You'd rip whatever result you're looking for and add it as the speak property on the message you send back to the user.
For the former, you wouldn't get a speech result, but you could drill down into the report. Check out Power BI apps's deep linking capability and how to deep link from Cortana.
Related
I am trying to send output of my response from Azure logic app withhttptriggerto Power bi data source and generate visuals whenever there is a positive or negative response from my logic app design flow.
What data source can I select in Power bi desktop version?
Is there API which can be used for same purpose? If yes, please provide the API details as well.
I tried to do it in online version but I need to do it for desktop version of Power bi
whenever there is a positive or negative response from my logic app design flow.
You can use a condition connector placed before to perform this requirement
What data source can I select in Power bi desktop version?
There is no direct connector that may help you to generate reports but there is a vast area from where you can send the data to particular storage and generate the reports from there. For Example, you can save your data to Azure blob storage through logic apps and then get the data from Azure blob storage to generate reports from power bi. Below are all the ways where we can get the data to generate reports.
The present power bi Connector in the logic app may help you to Use Power BI REST API to add rows to a dataset, Use Power BI Rest API to initiate export for Power BI reports, and other few actions. But there is always an option to do our own custom connector for power bi from logic apps through Custom connectors.
For more information regarding this, you can refer Create a Custom Connector for Logic Apps using the Azure portal - Microsoft Tech Community
Here is a tutorial where data is sent to the Azure SQL Database and the reports will be generated from Azure SQL Database.
I'm working on a Power BI project that:
1/Takes data from Google Sheets
2/Makes some modifications with power Query (or any other program)
3/Create the rapport
4/send it to the client
what i want to do is to automate these 4 steps.
the data's structure is the same, the content and the title of the columns are different from google sheets to other (depend on the client).
I'm new with BI and pretty inexperienced with Power BI so apologies if there is a simple answer to this question or if i didn't explain it as well as possible.
I need your help please.
Unfortunately power bi has no built in connections for google sheets.
give this article a try How to connect google sheet with power bi?
If that doesn't work you can try getting connector or API etc... you Can also explore using VBA (selenium) or some form of web automation to get it done.
some other workaround you can try is using smart sheet or Microsoft Excel
I am working on a power bi report which is embedded in a portal. I need to display live GPS live locations of vehicles in a MAP based on a company that user has access to in the portal. basically every user will have a company associated to them and I'll use rowlevelsecurity for doing this.
A third party application will give access to live streaming data through a API. Is it possible to connect to a third party application API from power bi and show gps locations? If it is possible, how can I do it? I am totally new to this. please help me with any documents/scripts. We have power bi pro license.
For your use case you will not be able to do it all in Power BI, you'll need to push the streaming data to some sort of database, Azure SQL Server/Azure Cosmos DB/Azure Databricks using Event Hubs and maybe Streaming Analytics as well. So for example your stream sends the data to the event hub endpoint, then sends it to a database, then Power BI reads it.
You can then link a Power BI report to that database and set it up in Direct Query mode, and then set the page refresh on the report. Depending on the type of service your period of refresh for none Embedded/Premium workspaces will be 30mins or more, and not 'realtime'
I have a dash made with Power BI, but I'm using Linux now and can't use it. I'd like to start using Data Studio, but I need to use the dashes I've already created with Power BI.
You can use your PowerBI dash from Linux, you just need to publish the dash to the PowerBI service after which you access it through a modern browser (e.g. Chrome). See the docs here.
In terms of getting your data out of PowerBI Desktop (thick client), there is no automated way. The best you can to is to create a PowerBI dash with a table visual and then include all relevant columns and rows to export in the table. Use the PowerBI export data feature to dump out to Excel. The same technique works in PowerBI service (the web version after you hace published). See the docs here.
If you want to try get to your PowerBI service (published data) from an API, that is not possible in any general format. The only option comes with the Premium version of PowerBI where you can connect to an XMLA endpoint to access the data. Typically organisations do their data wrangling in a tool before passing the data on to PowerBI To avoid the lack of open connectivity (to the processed data in PowerBI).
It doesn't seem possible to connect Power BI Desktop to Insightly although there's a content pack for Power BI Service.
Is there a workaround, if we need to build a data model and/or add calculated measures? E.g. use the content pack for the service and then connect Desktop to Power BI service?
Or any better suggestion? Thank you for helping with this!
You could always connect by finding the URL being passed in the Power BI service and use that as a Web data source from Power BI desktop. That way you'd be able to create your data model.
There are additional details here which guide you through the insightly portal.
https://learn.microsoft.com/en-us/power-bi/service-connect-to-insightly
There is a section within the above named "Finding Parameters" here it goes through how you can access the insightly portal. Additionally there is information around how to access the insightly API. Please note there is daily limit on the number of calls to this API.
select User Settings from the Insightly profile menu and scroll down.
This string of characters will be used to connect your data to Power BI.
Insightly API documentation can be found here:
https://api.insight.ly/v2.2/Help#!/Overview/Introduction#ratelimit
An example of an API call using the Power BI Web data source is as follows:
https://api.insight.ly/v2.2/Contacts
Using the key which can be found under the "Finding Parameters" tab you're able to populate the below: