SlideShare a Scribd company logo
Power BI Automation with
MS Flow
@IdaBergum, Data Platform MVP
©2019 Avanade Inc. All Rights Reserved.
2
Graduation
Started using Power BI
First speaker event
Started a blog
2015 2017 2018
• Analytics specialist in MS Data platform
• Avanade 4 years, Analytics TC- Analytics Experience
• Big Power BI fan, speaker and MVP
@IdaBergum / www.idabergumdata.com
2016
Joined
First SQLSat presentation
MS Bus Apps
Summit
2019
UG
Who Am I?
©2019 Avanade Inc. All Rights Reserved.
1. Example Automation scenarios using Flow and Power BI API
2. Demo 1: Flow Custom Connector and Actions for the Power BI API
3. Demo 2: A Flow to trigger refresh of dataset(s) in Power BI
4. Demo 3: A Flow for Power BI Premium Capacity management
Agenda
@IdaBergum
©2019 Avanade Inc. All Rights Reserved.
Example Automation scenario for refreshing Power
BI datasets
Business user has a
datawarehouse or
similarthat runs
every night to
update some data
When the
datawarehouse or
similar has
completed, we
would like to kick
of a refresh of a
Power BI dataset
When the dataset
has been updated,
we would like to
inform the Team
about the last
refresh
@IdaBergum
©2019 Avanade Inc. All Rights Reserved.
Example Automation scenario for capacity
management
Power BI
admins/CoE needs
to automate the
process of
assigning business
critical content to
Premium Capacities
due to many
manual processes
Business
areas/teams can
submit business
reason for
assignment to
Premium (to
new or existing
workspace)
A request
for approval
is sent to
the
Admin/CoE
Team
When
approved,
the
information
is stored in a
SP list
We get the
capacities
(admin) and
assign
workspace
to capacity
When
assigned, the
record in SP
list is updated
with Capacity
details
@IdaBergum
©2019 Avanade Inc. All Rights Reserved.
6
Automate directly from business and productivity apps
Access from O365 or www.flow.microsoft.com
Microsoft Flow
MS Flow is a low-code, no-code automation tool
@IdaBergum
©2019 Avanade Inc. All Rights Reserved.
7
Power BI REST API
Power BI REST API provides service endpoints for
embedding, administration, and user resources.
Operation group Description
Admin Operations for working with administrative tasks.
Available Features Operations that return available features.
Capacities Operations for working with capacities.
Dashboards Operations for working with dashboards
Datasets Operations for working with datasets
Embed Token Operations for working with embed tokens.
Gateways Operations for working with gateways.
Groups Operations for working with groups.
Imports Operations for working with imports.
Push Datasets Operations for working with push datasets.
Reports Operations for working with reports.
@IdaBergum
Create a Flow Custom
Connector to Power BI
REST API
1
©2019 Avanade Inc. All Rights Reserved.
There is also a swagger definition here instead of using the “Create from blank” option using
the “Import an OpenAPI file” option instead and uploading the Power BI REST API OpenAPI
definition file. Then you do not have to create all the actions from the first demo (Shoutout to
Chris Webb, he has a blog post about it here).
Tips
@IdaBergum
©2019 Avanade Inc. All Rights Reserved.
10
https://dev.powerbi.com/apps
@IdaBergum
©2019 Avanade Inc. All Rights Reserved.
11
Flow Custom Connector to PBI API
@IdaBergum
©2019 Avanade Inc. All Rights Reserved.
12
Add Action to refresh Dataset in «My Workspace»
@IdaBergum
©2019 Avanade Inc. All Rights Reserved.
13
Test connector
@IdaBergum
©2019 Avanade Inc. All Rights Reserved.
14
Add action for App Workspace Dataset Refresh
@IdaBergum
A Flow to trigger refresh
of dataset(s) in Power BI
2
©2017 Avanade Inc. All Rights Reserved.
Demo
©2019 Avanade Inc. All Rights Reserved.
17
Create a new Flow Trigger and Action
@IdaBergum
©2019 Avanade Inc. All Rights Reserved.
Add Get refresh history from workspace action
©2019 Avanade Inc. All Rights Reserved.
Post Refresh History to Teams
@IdaBergum
©2019 Avanade Inc. All Rights Reserved.
20
Test your Flow!
@IdaBergum
A Flow for Power BI
Premium Capacity
management
3
©2019 Avanade Inc. All Rights Reserved.
Collect information about workspace and business case
Fields you would like to store or update
Premium Capacity
Based on Form submission → Start approval → If approved →
Assign to capacity
Make sure you have the right permissions in Azure AD (read/write to capacities, admin right to capacity and workspace)
@IdaBergum
Create a flow using Template used*. Customize it as you’d like, and add Get capacities from
workspace and add assign to capacity action from the custom connector
* Remember to change from “Approved” to “Approve” in the approval action in the template
©2017 Avanade Inc. All Rights Reserved.
Demo
©2019 Avanade Inc. All Rights Reserved.
Add Action Get Capacities
@IdaBergum
©2019 Avanade Inc. All Rights Reserved.
Add Action AssignToCapcity (Groups)
@IdaBergum
©2019 Avanade Inc. All Rights Reserved.
Based on Form submission → Start approval → If
approved → Assign to capacity
Template used
@IdaBergum
©2019 Avanade Inc. All Rights Reserved.
Test
@IdaBergum
Summary
Summary
©2019 Avanade Inc. All Rights Reserved.
29
1. Allow Flow to access the Power BI REST API by Register an App (Azure AD). Remember to
grant permissions (admin rights needed)
2. Create a Custom Connector to PBI API
3. Add Actions to the Custom Connector for PBI API endpoints that you would like to use in
your Flow
4. Test the Custom Connector Action
5. Create Flow(s) with triggers, approvals, conditions and actions
6. Test the Flow
7. Publish!
For all PBI API Flows
The blog with video’s based on this session can be found here:
https://www.idabergumdata.com/home/microsoft-flow-automation-using-power-bi-api
@IdaBergum
©2019 Avanade Inc. All Rights Reserved.
What is your automation scenario?
X X X
@IdaBergum
Questions?
Thank you for attending my session! Let’s connect
Twitter: @IdaBergum | LI: https://www.linkedin.com/in/idabergum/ | Blog: www.idabergumdata.com
Techorama: Power BI Automation with MS Flow

More Related Content

What's hot

Display Microsoft Teams status on your smart light
Display Microsoft Teams status on your smart lightDisplay Microsoft Teams status on your smart light
Display Microsoft Teams status on your smart light
Mohamed Ashiq Faleel
 
01 mvp skill_power platform overview
01 mvp skill_power platform overview01 mvp skill_power platform overview
01 mvp skill_power platform overview
Kumton Suttiraksiri
 
Connected field service WhatsApp integration with Microsoft 365 Platform
Connected field service WhatsApp integration with Microsoft 365 PlatformConnected field service WhatsApp integration with Microsoft 365 Platform
Connected field service WhatsApp integration with Microsoft 365 Platform
Mohamed Ashiq Faleel
 
Supercharge your app with Power BI Embedded analytics
Supercharge your app with Power BI Embedded analyticsSupercharge your app with Power BI Embedded analytics
Supercharge your app with Power BI Embedded analytics
Microsoft Tech Community
 
MVP Dagen Oslo 2019 - Power BI Automatisering ved bruk av Microsoft Flow
MVP Dagen Oslo 2019 - Power BI Automatisering ved bruk av Microsoft FlowMVP Dagen Oslo 2019 - Power BI Automatisering ved bruk av Microsoft Flow
MVP Dagen Oslo 2019 - Power BI Automatisering ved bruk av Microsoft Flow
Ida Bergum
 
Product management in office 365 vancouver
Product management in office 365 vancouverProduct management in office 365 vancouver
Product management in office 365 vancouver
Berkovich Consulting
 
Get more Visual Power
Get more Visual PowerGet more Visual Power
Get more Visual Power
Berkovich Consulting
 
PnP in building office add ins - public
PnP in building office add ins - publicPnP in building office add ins - public
PnP in building office add ins - public
Mostafa
 
Introduction to power BI
Introduction to power BIIntroduction to power BI
Introduction to power BI
Ramar Bose
 
PowerApps, the Developer Story: Build an API to Integrate Corporate Data
PowerApps, the Developer Story: Build an API to Integrate Corporate DataPowerApps, the Developer Story: Build an API to Integrate Corporate Data
PowerApps, the Developer Story: Build an API to Integrate Corporate Data
Bram de Jager
 
AI Builder Deepdive DynamicsPower! Brussels 2019
AI Builder Deepdive DynamicsPower! Brussels 2019AI Builder Deepdive DynamicsPower! Brussels 2019
AI Builder Deepdive DynamicsPower! Brussels 2019
Rebekka Aalbers-de Jong
 
Intelligent automation with Microsoft Power Automate
Intelligent automation with Microsoft Power AutomateIntelligent automation with Microsoft Power Automate
Intelligent automation with Microsoft Power Automate
Daniel Laskewitz
 
Power BI Publisher
Power BI Publisher Power BI Publisher
Power BI Publisher
HARIHARAN R
 
Introduction to Power BI and Data Visualization
Introduction to Power BI and Data VisualizationIntroduction to Power BI and Data Visualization
Introduction to Power BI and Data Visualization
Swapnil Jadhav
 
Power BI Days - Power Bi and PowerShell
Power BI Days - Power Bi and PowerShellPower BI Days - Power Bi and PowerShell
Power BI Days - Power Bi and PowerShell
Gaston Cruz
 
Integrating flow and power apps with power bi
Integrating flow and power apps with power biIntegrating flow and power apps with power bi
Integrating flow and power apps with power bi
HARIHARAN R
 
PowerApps 101 Presentation SharePoint Saturday Netherlands 2019
PowerApps 101 Presentation SharePoint Saturday Netherlands 2019PowerApps 101 Presentation SharePoint Saturday Netherlands 2019
PowerApps 101 Presentation SharePoint Saturday Netherlands 2019
Rebekka Aalbers-de Jong
 
aOS Moscow - E3 - Integrate the Power Platform with SharePoint
aOS Moscow - E3 - Integrate the Power Platform with SharePointaOS Moscow - E3 - Integrate the Power Platform with SharePoint
aOS Moscow - E3 - Integrate the Power Platform with SharePoint
aOS Community
 
Introduction to Power Platform
Introduction to Power PlatformIntroduction to Power Platform
Introduction to Power Platform
Praveen Nair
 
Making the move from iaa s to iaas+
Making the move from iaa s to iaas+Making the move from iaa s to iaas+
Making the move from iaa s to iaas+
Chip Childers
 

What's hot (20)

Display Microsoft Teams status on your smart light
Display Microsoft Teams status on your smart lightDisplay Microsoft Teams status on your smart light
Display Microsoft Teams status on your smart light
 
01 mvp skill_power platform overview
01 mvp skill_power platform overview01 mvp skill_power platform overview
01 mvp skill_power platform overview
 
Connected field service WhatsApp integration with Microsoft 365 Platform
Connected field service WhatsApp integration with Microsoft 365 PlatformConnected field service WhatsApp integration with Microsoft 365 Platform
Connected field service WhatsApp integration with Microsoft 365 Platform
 
Supercharge your app with Power BI Embedded analytics
Supercharge your app with Power BI Embedded analyticsSupercharge your app with Power BI Embedded analytics
Supercharge your app with Power BI Embedded analytics
 
MVP Dagen Oslo 2019 - Power BI Automatisering ved bruk av Microsoft Flow
MVP Dagen Oslo 2019 - Power BI Automatisering ved bruk av Microsoft FlowMVP Dagen Oslo 2019 - Power BI Automatisering ved bruk av Microsoft Flow
MVP Dagen Oslo 2019 - Power BI Automatisering ved bruk av Microsoft Flow
 
Product management in office 365 vancouver
Product management in office 365 vancouverProduct management in office 365 vancouver
Product management in office 365 vancouver
 
Get more Visual Power
Get more Visual PowerGet more Visual Power
Get more Visual Power
 
PnP in building office add ins - public
PnP in building office add ins - publicPnP in building office add ins - public
PnP in building office add ins - public
 
Introduction to power BI
Introduction to power BIIntroduction to power BI
Introduction to power BI
 
PowerApps, the Developer Story: Build an API to Integrate Corporate Data
PowerApps, the Developer Story: Build an API to Integrate Corporate DataPowerApps, the Developer Story: Build an API to Integrate Corporate Data
PowerApps, the Developer Story: Build an API to Integrate Corporate Data
 
AI Builder Deepdive DynamicsPower! Brussels 2019
AI Builder Deepdive DynamicsPower! Brussels 2019AI Builder Deepdive DynamicsPower! Brussels 2019
AI Builder Deepdive DynamicsPower! Brussels 2019
 
Intelligent automation with Microsoft Power Automate
Intelligent automation with Microsoft Power AutomateIntelligent automation with Microsoft Power Automate
Intelligent automation with Microsoft Power Automate
 
Power BI Publisher
Power BI Publisher Power BI Publisher
Power BI Publisher
 
Introduction to Power BI and Data Visualization
Introduction to Power BI and Data VisualizationIntroduction to Power BI and Data Visualization
Introduction to Power BI and Data Visualization
 
Power BI Days - Power Bi and PowerShell
Power BI Days - Power Bi and PowerShellPower BI Days - Power Bi and PowerShell
Power BI Days - Power Bi and PowerShell
 
Integrating flow and power apps with power bi
Integrating flow and power apps with power biIntegrating flow and power apps with power bi
Integrating flow and power apps with power bi
 
PowerApps 101 Presentation SharePoint Saturday Netherlands 2019
PowerApps 101 Presentation SharePoint Saturday Netherlands 2019PowerApps 101 Presentation SharePoint Saturday Netherlands 2019
PowerApps 101 Presentation SharePoint Saturday Netherlands 2019
 
aOS Moscow - E3 - Integrate the Power Platform with SharePoint
aOS Moscow - E3 - Integrate the Power Platform with SharePointaOS Moscow - E3 - Integrate the Power Platform with SharePoint
aOS Moscow - E3 - Integrate the Power Platform with SharePoint
 
Introduction to Power Platform
Introduction to Power PlatformIntroduction to Power Platform
Introduction to Power Platform
 
Making the move from iaa s to iaas+
Making the move from iaa s to iaas+Making the move from iaa s to iaas+
Making the move from iaa s to iaas+
 

Similar to Techorama: Power BI Automation with MS Flow

"Integrate your front end apps with serverless backend in the cloud", Sebasti...
"Integrate your front end apps with serverless backend in the cloud", Sebasti..."Integrate your front end apps with serverless backend in the cloud", Sebasti...
"Integrate your front end apps with serverless backend in the cloud", Sebasti...
Provectus
 
AWS Meetup Brussels 3rd Sep 2019 Simplify Frontend Apps with Serverless Backends
AWS Meetup Brussels 3rd Sep 2019 Simplify Frontend Apps with Serverless BackendsAWS Meetup Brussels 3rd Sep 2019 Simplify Frontend Apps with Serverless Backends
AWS Meetup Brussels 3rd Sep 2019 Simplify Frontend Apps with Serverless Backends
Patrick Sard
 
Build secure, offline, real-time-enabled mobile apps - MAD304 - Atlanta AWS S...
Build secure, offline, real-time-enabled mobile apps - MAD304 - Atlanta AWS S...Build secure, offline, real-time-enabled mobile apps - MAD304 - Atlanta AWS S...
Build secure, offline, real-time-enabled mobile apps - MAD304 - Atlanta AWS S...
Amazon Web Services
 
Introduction to Serverless on AWS
Introduction to Serverless on AWSIntroduction to Serverless on AWS
Introduction to Serverless on AWS
Amazon Web Services
 
Simplify Your Front End Apps with Serverless Backend in the Cloud.
Simplify Your Front End Apps with Serverless Backend in the Cloud.Simplify Your Front End Apps with Serverless Backend in the Cloud.
Simplify Your Front End Apps with Serverless Backend in the Cloud.
Amazon Web Services
 
Simplify front end apps.pdf
Simplify front end apps.pdfSimplify front end apps.pdf
Simplify front end apps.pdf
Amazon Web Services
 
Simplify front end apps.pdf
Simplify front end apps.pdfSimplify front end apps.pdf
Simplify front end apps.pdf
Amazon Web Services
 
Developing Serverless Application on AWS
Developing Serverless Application on AWSDeveloping Serverless Application on AWS
Developing Serverless Application on AWS
Amazon Web Services
 
Simplify your Web & Mobile applications with cloud-based serverless backends
Simplify your Web & Mobile applicationswith cloud-based serverless backendsSimplify your Web & Mobile applicationswith cloud-based serverless backends
Simplify your Web & Mobile applications with cloud-based serverless backends
Sébastien ☁ Stormacq
 
Power BI: The Straight Talk on Microsoft’s Data Visualization Tool for BI
Power BI: The Straight Talk on Microsoft’s Data Visualization Tool for BIPower BI: The Straight Talk on Microsoft’s Data Visualization Tool for BI
Power BI: The Straight Talk on Microsoft’s Data Visualization Tool for BI
Senturus
 
Serverless - State of the Union
Serverless - State of the UnionServerless - State of the Union
Serverless - State of the Union
Amazon Web Services
 
AWS DevDay Berlin 2019 - Simplify your Web & Mobile apps with cloud-based ser...
AWS DevDay Berlin 2019 - Simplify your Web & Mobile appswith cloud-based ser...AWS DevDay Berlin 2019 - Simplify your Web & Mobile appswith cloud-based ser...
AWS DevDay Berlin 2019 - Simplify your Web & Mobile apps with cloud-based ser...
Darko Mesaroš
 
Transformation Track AWS Cloud Experience Argentina - Why Enterprise Workload...
Transformation Track AWS Cloud Experience Argentina - Why Enterprise Workload...Transformation Track AWS Cloud Experience Argentina - Why Enterprise Workload...
Transformation Track AWS Cloud Experience Argentina - Why Enterprise Workload...
Amazon Web Services LATAM
 
Transforming Product Development - AWS Transformation Day Boston 2018
Transforming Product Development - AWS Transformation Day Boston 2018Transforming Product Development - AWS Transformation Day Boston 2018
Transforming Product Development - AWS Transformation Day Boston 2018
Amazon Web Services
 
How to Build Scalable Serverless Applications
How to Build Scalable Serverless ApplicationsHow to Build Scalable Serverless Applications
How to Build Scalable Serverless Applications
Amazon Web Services
 
Transforming Enterprise IT - AWS Transformation Day 2018: Detroit
Transforming Enterprise IT - AWS Transformation Day 2018: DetroitTransforming Enterprise IT - AWS Transformation Day 2018: Detroit
Transforming Enterprise IT - AWS Transformation Day 2018: Detroit
Amazon Web Services
 
Transforming Product Development - Transformation Day Montreal 2018
Transforming Product Development - Transformation Day Montreal 2018Transforming Product Development - Transformation Day Montreal 2018
Transforming Product Development - Transformation Day Montreal 2018
Amazon Web Services
 
Bridging the Gap Between Real Time/Offline and AI/ML Capabilities in Modern S...
Bridging the Gap Between Real Time/Offline and AI/ML Capabilities in Modern S...Bridging the Gap Between Real Time/Offline and AI/ML Capabilities in Modern S...
Bridging the Gap Between Real Time/Offline and AI/ML Capabilities in Modern S...
Amazon Web Services
 
Transforming Product Development - AWS Transformation Day 2018: Detroit
Transforming Product Development - AWS Transformation Day 2018: DetroitTransforming Product Development - AWS Transformation Day 2018: Detroit
Transforming Product Development - AWS Transformation Day 2018: Detroit
Amazon Web Services
 
ENT206 Product Development in the Cloud
ENT206 Product Development in the CloudENT206 Product Development in the Cloud
ENT206 Product Development in the Cloud
Amazon Web Services
 

Similar to Techorama: Power BI Automation with MS Flow (20)

"Integrate your front end apps with serverless backend in the cloud", Sebasti...
"Integrate your front end apps with serverless backend in the cloud", Sebasti..."Integrate your front end apps with serverless backend in the cloud", Sebasti...
"Integrate your front end apps with serverless backend in the cloud", Sebasti...
 
AWS Meetup Brussels 3rd Sep 2019 Simplify Frontend Apps with Serverless Backends
AWS Meetup Brussels 3rd Sep 2019 Simplify Frontend Apps with Serverless BackendsAWS Meetup Brussels 3rd Sep 2019 Simplify Frontend Apps with Serverless Backends
AWS Meetup Brussels 3rd Sep 2019 Simplify Frontend Apps with Serverless Backends
 
Build secure, offline, real-time-enabled mobile apps - MAD304 - Atlanta AWS S...
Build secure, offline, real-time-enabled mobile apps - MAD304 - Atlanta AWS S...Build secure, offline, real-time-enabled mobile apps - MAD304 - Atlanta AWS S...
Build secure, offline, real-time-enabled mobile apps - MAD304 - Atlanta AWS S...
 
Introduction to Serverless on AWS
Introduction to Serverless on AWSIntroduction to Serverless on AWS
Introduction to Serverless on AWS
 
Simplify Your Front End Apps with Serverless Backend in the Cloud.
Simplify Your Front End Apps with Serverless Backend in the Cloud.Simplify Your Front End Apps with Serverless Backend in the Cloud.
Simplify Your Front End Apps with Serverless Backend in the Cloud.
 
Simplify front end apps.pdf
Simplify front end apps.pdfSimplify front end apps.pdf
Simplify front end apps.pdf
 
Simplify front end apps.pdf
Simplify front end apps.pdfSimplify front end apps.pdf
Simplify front end apps.pdf
 
Developing Serverless Application on AWS
Developing Serverless Application on AWSDeveloping Serverless Application on AWS
Developing Serverless Application on AWS
 
Simplify your Web & Mobile applications with cloud-based serverless backends
Simplify your Web & Mobile applicationswith cloud-based serverless backendsSimplify your Web & Mobile applicationswith cloud-based serverless backends
Simplify your Web & Mobile applications with cloud-based serverless backends
 
Power BI: The Straight Talk on Microsoft’s Data Visualization Tool for BI
Power BI: The Straight Talk on Microsoft’s Data Visualization Tool for BIPower BI: The Straight Talk on Microsoft’s Data Visualization Tool for BI
Power BI: The Straight Talk on Microsoft’s Data Visualization Tool for BI
 
Serverless - State of the Union
Serverless - State of the UnionServerless - State of the Union
Serverless - State of the Union
 
AWS DevDay Berlin 2019 - Simplify your Web & Mobile apps with cloud-based ser...
AWS DevDay Berlin 2019 - Simplify your Web & Mobile appswith cloud-based ser...AWS DevDay Berlin 2019 - Simplify your Web & Mobile appswith cloud-based ser...
AWS DevDay Berlin 2019 - Simplify your Web & Mobile apps with cloud-based ser...
 
Transformation Track AWS Cloud Experience Argentina - Why Enterprise Workload...
Transformation Track AWS Cloud Experience Argentina - Why Enterprise Workload...Transformation Track AWS Cloud Experience Argentina - Why Enterprise Workload...
Transformation Track AWS Cloud Experience Argentina - Why Enterprise Workload...
 
Transforming Product Development - AWS Transformation Day Boston 2018
Transforming Product Development - AWS Transformation Day Boston 2018Transforming Product Development - AWS Transformation Day Boston 2018
Transforming Product Development - AWS Transformation Day Boston 2018
 
How to Build Scalable Serverless Applications
How to Build Scalable Serverless ApplicationsHow to Build Scalable Serverless Applications
How to Build Scalable Serverless Applications
 
Transforming Enterprise IT - AWS Transformation Day 2018: Detroit
Transforming Enterprise IT - AWS Transformation Day 2018: DetroitTransforming Enterprise IT - AWS Transformation Day 2018: Detroit
Transforming Enterprise IT - AWS Transformation Day 2018: Detroit
 
Transforming Product Development - Transformation Day Montreal 2018
Transforming Product Development - Transformation Day Montreal 2018Transforming Product Development - Transformation Day Montreal 2018
Transforming Product Development - Transformation Day Montreal 2018
 
Bridging the Gap Between Real Time/Offline and AI/ML Capabilities in Modern S...
Bridging the Gap Between Real Time/Offline and AI/ML Capabilities in Modern S...Bridging the Gap Between Real Time/Offline and AI/ML Capabilities in Modern S...
Bridging the Gap Between Real Time/Offline and AI/ML Capabilities in Modern S...
 
Transforming Product Development - AWS Transformation Day 2018: Detroit
Transforming Product Development - AWS Transformation Day 2018: DetroitTransforming Product Development - AWS Transformation Day 2018: Detroit
Transforming Product Development - AWS Transformation Day 2018: Detroit
 
ENT206 Product Development in the Cloud
ENT206 Product Development in the CloudENT206 Product Development in the Cloud
ENT206 Product Development in the Cloud
 

Recently uploaded

Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 

Recently uploaded (20)

Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 

Techorama: Power BI Automation with MS Flow

  • 1. Power BI Automation with MS Flow @IdaBergum, Data Platform MVP
  • 2. ©2019 Avanade Inc. All Rights Reserved. 2 Graduation Started using Power BI First speaker event Started a blog 2015 2017 2018 • Analytics specialist in MS Data platform • Avanade 4 years, Analytics TC- Analytics Experience • Big Power BI fan, speaker and MVP @IdaBergum / www.idabergumdata.com 2016 Joined First SQLSat presentation MS Bus Apps Summit 2019 UG Who Am I?
  • 3. ©2019 Avanade Inc. All Rights Reserved. 1. Example Automation scenarios using Flow and Power BI API 2. Demo 1: Flow Custom Connector and Actions for the Power BI API 3. Demo 2: A Flow to trigger refresh of dataset(s) in Power BI 4. Demo 3: A Flow for Power BI Premium Capacity management Agenda @IdaBergum
  • 4. ©2019 Avanade Inc. All Rights Reserved. Example Automation scenario for refreshing Power BI datasets Business user has a datawarehouse or similarthat runs every night to update some data When the datawarehouse or similar has completed, we would like to kick of a refresh of a Power BI dataset When the dataset has been updated, we would like to inform the Team about the last refresh @IdaBergum
  • 5. ©2019 Avanade Inc. All Rights Reserved. Example Automation scenario for capacity management Power BI admins/CoE needs to automate the process of assigning business critical content to Premium Capacities due to many manual processes Business areas/teams can submit business reason for assignment to Premium (to new or existing workspace) A request for approval is sent to the Admin/CoE Team When approved, the information is stored in a SP list We get the capacities (admin) and assign workspace to capacity When assigned, the record in SP list is updated with Capacity details @IdaBergum
  • 6. ©2019 Avanade Inc. All Rights Reserved. 6 Automate directly from business and productivity apps Access from O365 or www.flow.microsoft.com Microsoft Flow MS Flow is a low-code, no-code automation tool @IdaBergum
  • 7. ©2019 Avanade Inc. All Rights Reserved. 7 Power BI REST API Power BI REST API provides service endpoints for embedding, administration, and user resources. Operation group Description Admin Operations for working with administrative tasks. Available Features Operations that return available features. Capacities Operations for working with capacities. Dashboards Operations for working with dashboards Datasets Operations for working with datasets Embed Token Operations for working with embed tokens. Gateways Operations for working with gateways. Groups Operations for working with groups. Imports Operations for working with imports. Push Datasets Operations for working with push datasets. Reports Operations for working with reports. @IdaBergum
  • 8. Create a Flow Custom Connector to Power BI REST API 1
  • 9. ©2019 Avanade Inc. All Rights Reserved. There is also a swagger definition here instead of using the “Create from blank” option using the “Import an OpenAPI file” option instead and uploading the Power BI REST API OpenAPI definition file. Then you do not have to create all the actions from the first demo (Shoutout to Chris Webb, he has a blog post about it here). Tips @IdaBergum
  • 10. ©2019 Avanade Inc. All Rights Reserved. 10 https://dev.powerbi.com/apps @IdaBergum
  • 11. ©2019 Avanade Inc. All Rights Reserved. 11 Flow Custom Connector to PBI API @IdaBergum
  • 12. ©2019 Avanade Inc. All Rights Reserved. 12 Add Action to refresh Dataset in «My Workspace» @IdaBergum
  • 13. ©2019 Avanade Inc. All Rights Reserved. 13 Test connector @IdaBergum
  • 14. ©2019 Avanade Inc. All Rights Reserved. 14 Add action for App Workspace Dataset Refresh @IdaBergum
  • 15. A Flow to trigger refresh of dataset(s) in Power BI 2
  • 16. ©2017 Avanade Inc. All Rights Reserved. Demo
  • 17. ©2019 Avanade Inc. All Rights Reserved. 17 Create a new Flow Trigger and Action @IdaBergum
  • 18. ©2019 Avanade Inc. All Rights Reserved. Add Get refresh history from workspace action
  • 19. ©2019 Avanade Inc. All Rights Reserved. Post Refresh History to Teams @IdaBergum
  • 20. ©2019 Avanade Inc. All Rights Reserved. 20 Test your Flow! @IdaBergum
  • 21. A Flow for Power BI Premium Capacity management 3
  • 22. ©2019 Avanade Inc. All Rights Reserved. Collect information about workspace and business case Fields you would like to store or update Premium Capacity Based on Form submission → Start approval → If approved → Assign to capacity Make sure you have the right permissions in Azure AD (read/write to capacities, admin right to capacity and workspace) @IdaBergum Create a flow using Template used*. Customize it as you’d like, and add Get capacities from workspace and add assign to capacity action from the custom connector * Remember to change from “Approved” to “Approve” in the approval action in the template
  • 23. ©2017 Avanade Inc. All Rights Reserved. Demo
  • 24. ©2019 Avanade Inc. All Rights Reserved. Add Action Get Capacities @IdaBergum
  • 25. ©2019 Avanade Inc. All Rights Reserved. Add Action AssignToCapcity (Groups) @IdaBergum
  • 26. ©2019 Avanade Inc. All Rights Reserved. Based on Form submission → Start approval → If approved → Assign to capacity Template used @IdaBergum
  • 27. ©2019 Avanade Inc. All Rights Reserved. Test @IdaBergum
  • 29. ©2019 Avanade Inc. All Rights Reserved. 29 1. Allow Flow to access the Power BI REST API by Register an App (Azure AD). Remember to grant permissions (admin rights needed) 2. Create a Custom Connector to PBI API 3. Add Actions to the Custom Connector for PBI API endpoints that you would like to use in your Flow 4. Test the Custom Connector Action 5. Create Flow(s) with triggers, approvals, conditions and actions 6. Test the Flow 7. Publish! For all PBI API Flows The blog with video’s based on this session can be found here: https://www.idabergumdata.com/home/microsoft-flow-automation-using-power-bi-api @IdaBergum
  • 30. ©2019 Avanade Inc. All Rights Reserved. What is your automation scenario? X X X @IdaBergum
  • 31. Questions? Thank you for attending my session! Let’s connect Twitter: @IdaBergum | LI: https://www.linkedin.com/in/idabergum/ | Blog: www.idabergumdata.com