Unified Advanced Analytics: Integrating Power BI and Databricks Genie for Real-time Insights
Summary
- Unified analytics interface: This video demonstrates how Power BI dashboards and Databricks Genie can be integrated into a single application, allowing users to query and visualize data without switching contexts.
- Integration approaches: Two strategies are compared: an Azure bot-enhanced webpage versus Databricks Apps, each offering different user experience benefits.
- Real-world implementation: The Genie API enables seamless interaction between BI tools and AI capabilities, with live demonstrations of both integration methods.
Unified Advanced Analytics: Integrating Power BI and Databricks Genie for Real-time Insights

Talk by Edelweiss Kammermann, Associate VP of AI & Machine Learning, IT Convergence ; Justin Ward, Senior Mgr of Analytics & Data Science, TurnPoint Services
In today’s data-driven landscape, business users expect seamless, interactive analytics without having to switch between different environments. This presentation explores our web application that unifies a Power BI dashboard with Databricks Genie, allowing users to query and visualize insights from the same dataset within a single, cohesive interface. We will compare two integration strategies: one that leverages a traditional webpage enhanced by an Azure bot to incorporate Genie’s capabilities, and another that utilizes Databricks Apps to deliver a smoother, native experience. We use the Genie API to build this solution. Attendees will learn the architecture behind these solutions, key design considerations and challenges encountered during implementation. Join us to see live demos of both approaches, and discover best practices for delivering an all-in-one, interactive analytics experience.
Intelligent analytics for everyone: https://www.databricks.com/product/business-intelligence
BI meets AI: https://www.databricks.com/resources/ebook/business-intelligence-meets-ai
Explore the only unified platform for agent systems: https://www.databricks.com/product/artificial-intelligence
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements
Chapters
0:00Introduction and context2:56Solution overview4:42Analysis and design8:07Data engineering changes11:41Migrating metrics to Genie13:33Genie workspace setup16:18Building the Databricks app19:42Live demonstration25:35Conclusion and Q&A
FAQs
What two integration approaches are demonstrated?
This video compares an Azure bot-enhanced webpage approach with a Databricks Apps approach, explaining the design considerations and user experience benefits of each.
How does Databricks Genie work within the unified interface?
The Genie API enables seamless integration between Power BI dashboards and Databricks Genie, allowing users to query data and receive AI-powered insights within the same application.
What are the design challenges addressed?
This video discusses key design considerations and implementation challenges encountered when merging BI and AI capabilities into a single, cohesive user experience.
Who presented this integration?
This video was delivered by Edelweiss Kammermann from IT Convergence and Justin Ward from TurnPoint Services, who worked on this unified analytics solution.
Full transcript
0:00 Introduction and context
Hi everybody, welcome to our session. Thank you for joining us today. So we're going to talk today about how we unify a user experience with data visualizations and shenetive AI. So uh we're going to tell you everything about what was the problem that we tried to solve and also how were the decisions that we made to do the technical implementations. So. I'm the associate VP of uh AI in ML for IT conversions. Uh with me is who is the senior uh manager of the analytics and data science at turnpoint services.
And before jumping into the shiy technical details uh let's uh let's see talk something about us. So my name is as I mentioned everybody calls me. It's easier that way. I have more than 25 years of experience in analytics and integration and in the last five six years with AI and machine learning. So I usually speak at international conference uh like this one I built teams from scratch global analytics teams and AI machine learning teams and I'm a computer engineer and I'm from Uruguay.
So if you're wondering where Uruguay is, it's right there between Argentina and Brazil. And these pictures are from Monte Vido, which is the capital. And this thing like looks like a mother ship is our airport. So I work for a company that is called it conversion. It's a US company that is a company that we have offices in around the globe. It's a global services company with more than 25 years of experience on building solutions for our clients and uh we offer different type of services moving everybody to the cloud uh analytics and integration.
We are technology agnostic. So we are partners with data bricks with GCP with Ashure with Oracle and with AWS. So Justin do you want to tell us a little bit about yourself? Absolutely. Thank you. Uh Justin Ward. I am the senior manager of data science and analytics at Turnpoint Services. I've been in data in various data roles for about a decade and I'm about to hit my four-year mark at Turnpoint Services. Uh Turnpoint Services is an HVAC roll-up company, but we include electric and plumbing companies in there.
The premise of what we do is we go around and we purchase HVAC and electric and plum plumbing companies across the United States and add value through our front and back office expertise giving them access to great vendors like ITC. We have about 60 brands in 31 states and we're continuing to grow. Awesome. Excellent. So our problem statement looks something like this. We have excellent PowerBI reporting. We have excellent data.
2:56 Solution overview
But our PowerBI reporting was a bit intense. We have hundreds of reports, hundreds of pages, and within that a lot of dashboards. So if I'm a GM or an analyst looking to put together a thesis or an analysis, it's going to take me quite a bit of time. So this was an opportunity to leverage our tech stack, which is pretty lightweight. We are data bricks on top of AWS. Uh maybe leverage a native solution with one of those.
And then also probably just as important consolidate how our users are interacting with our data. Uh I don't want people going to data bricks or another platform for an AI chatbot and then PowerBI for reporting and then our CRM. Everything should kind of be in one place. So that's when the solution which idle brought to us was yeah so the solution that we built it was have one single entry point for powerbi visualizations and also for AI sheni and the way that user can interact with powerbi data visualizations is exactly the same as they enter into powerbi okay but you will have the the plus to also interact with Genie and asking natural language question.
So the catch on this is for this solution to work we need to have the same data set in PowerBI and in Shinni okay in data bricks and what I mean about exact same data set means exact same columns exact same data same dimensions same facts same metrics okay so in the following slides I'm going to explain to you all the phases that we gone through this project Starting with the obviously analyzing which is the environment uh the PowerBI environment the data bricks environment analyzing also um do the necessary changes with the inside data bricks inside PowerBI build the shiny workspace and configure it and also build the datab bricks app to host both powerbi report and sheni.
4:42 Analysis and design
So the first stage of this project was analysis and documentation. So what we want first it was to talk with the business users understand exactly what are their business needs and also their expectation and the pain points. One thing that we also wanted to do is to explain very clearly which is the solution what what the things that solution can do and cannot do. And this is important because usually you know in in in nowadays it's like you can do with geneti whatever right it's like a I don't know it's like your fairy godmother with a magic one that can do whatever you want and it's not like that.
So setting the right expectations to user is very very important. So what we did after that it was analyzing the data bricks metallion architecture analyze all the schemas all the tables we analyze also the powerbi data sets and the data metrics index metrics and what we try to find out with powerbi metadata. So what happens usually when you you have you have the data engineer team that is building the data set for powerbi developer to create the reports.
So right now in data bricks you have this very nice feature that which is with one click you can publish the data set in into powerbi without having to put all the details right but once the powerbi the data set is in powerbi databris honestly doesn't know what is happen with that data set okay and the powerbi developer usually he what what he has he has the requirements from to the business user and the data set that is given to him by the data engineer and sometimes most usually often uh what happen is that it's not fit exactly what he has to deliver.
So because of that he's trying he's starting to massaging the data do transformations adding new columns no maybe I don't know filtering data and all of that are transformations okay so the first thing that we try to look at in the powerbi data set if their data set have something like that did they have any transformation do we have new columns built in powerbi with powerbi query that obviously databris doesn't have any idea of yet and also So DAX metrics so if you're familiar with PowerBI so how many people of you are working with PowerBI wow so everybody okay so as you know building metrics is you use the DAX language right so we need to find out how much how many metrics do we have do we have any intermediate calculation all of that because remember we need to have the exact same data set in data bricks and in powerbi so what we have found is it was a lot of there were a lot of transformations built in PowerBI using PowerBI query new columns and these new columns it wasn't new metrics it was it there were new columns like for example flag columns or you know columns that it's new information that it was built in PowerBI we have also uh we also saw that the relationships between tables were created in PowerBI Okay.
8:07 Data engineering changes
And not in data bricks and also we found out time dimensions so a calendar table right and it's important that for example when we want to analyze data we usually want to analyze data against time. So if I'm a powerbi developer and I'm building my own calendar table someone else can build their own calendar table or other application can build their own calendar table. That doesn't make any sense right? So we have to talk about the same calendar table because I can add for example I don't know five holidays and the other person can add three holidays because he forgot that there was another two holidays during the year.
So because of that the solution that we found is move these transformations into the place that they should be which is the data bricks modern platform right so why we're doing this because we want to reinforce the approach of one single version of truth okay so I want that if I build a new column it has to be in data bricks so everybody can use it and everybody's talking about the same data okay and also the report the performance of the report is going to be improved.
So we improve the performance of the report in doing this we have better data governance okay because we are all talking about the same things and we reinforce the approach of one single version of truth. So the next step was doing all these changes in data bricks. So we build a new schema, we create this new data set, we add the columns that were in PowerBI, we add the time dimension. We also found out that we needed to apply some cleansing into the data.
You know, there was many new values and things like that and also numeric uh primary keys. Okay, so we found out also that was the primary key that were used. it was a very long string concatenated string columns and is that is not a best practice okay for the warehousing it's best to have numeric keys you can do it with surrogates keys or you can do it you know doing a transformation uh with the with the string column to the to the numeric one okay once you have all the transformations in the in data bricks the following thing that you have to do is to make the data AI ready.
So right now in data bricks you have the possibility to use the AI assistant utility when you define um we generate table descriptions and column descriptions. Okay. And that is important for any genative AI application, not only for Sheni. Right? So you need to have more metadata that explains to the genative AI solution which is this column about. Okay. Once we have everything done in data bricks, we need to ref the changes to reflect these changes that we have done in PowerBI.
11:41 Migrating metrics to Genie
So we need to connect the report to the to the new data set and we also need to eliminate all the transformation that we have now handled by data bricks. Okay. So I have talked until now about new columns like dimensions like calendar calendar table and what about metrics right because the metrics we need to define the metrics in DAX you know using DAX in PowerBI but we also need Shinni to get access or understand the PowerBI metrics.
So how we can do it until today there is no object to define metrics in data bricks until today and I don't want to be a spoiler but I think I'm going to be one uh but in the near future is there is something that is called unity catalog metrics if you're interested on that there are two sessions on Thursday okay uh that you can go and see what is this is about but the idea is to have unified the definition of metrics inside data brick Okay, but until now we don't have it.
So we need to found we needed we need to find a solution for that. The solution was okay, I will take the DAX definition for my metric and transform it into a SQL sentence and that SQL sentence we're going to add it into Sheni. So Sheni will understand that this metric has this definition. Okay, it's like a translation between DAX language in and SQL. So, we build the Shinni workspace. I don't know if you're familiar with Shinni, but how many of you have been playing with Shinni?
13:33 Genie workspace setup
Oh, a lot of a lot of people. That's good. So, one thing that we uh that you know already is that it building a shiny workspace is very easy. You can add the data. You have to do everything in the definition of the shiny workspace and you need to define the instructions and the SQL definitions. So one thing that I have seen in other clients is people is getting very excited about Sheni and they enable it to business users without putting much more instructions on it and that is a problem right.
So we have sometimes idea that because this is a smart a smart uh product you know they don't need no he doesn't need much more instructions so with one two three lines it is okay and it's not okay so you need to be very specific of for example if they want the data to be filtered in some way if you want what do you mean by I don't know leads what do you mean by other concepts that you have in your in your in your data and also be very clear about the thing that you want that the solution that she does and what are the things that shiny doesn't have to do okay so as best practices I suggest to have a very detailed instructions for sheni very very detailed will be a lot of paragraphs explaining the concepts explaining for example if the user asks about a specific content you should use that column.
Okay, these type of things because sometimes we you know because we are very familiar with the data we think that it's quite clear and sometimes it's not. So if you enable Sheni and you know give it to the users without having a very you know a lot of um testing of the of Sheni they're going to lost the confidence is something that obviously we don't we don't want so this is one thing the other thing is adding SQL queries in addition to the SQL queries that we have been talking about that defining the metrics that we are using in PowerBI you can add other SQL query case.
For example, if they want if you have a very complex way to calculate a KPI or if they want that the result when the user asks for something go through a specific SQL query, you have to add it here. And then we use something that it is pretty cool which is the datab bricks app. So for data bricks app again it's very easily new application and you build a new app. You have several templates very simple templates like I don't know for a chatbot and you can use a streamlit you can use grad io in our case we decided to use a streaml just because we are very familiar with it we really like it so we decided to use a streamlit for the language for the data bricks app and we build this application that it will contain both shiny and powerbi report and for power report what we build is just you know we create an iframe and we embedded the PowerBI report there and we use the Shini conversation API to interact with the Shini application.
16:18 Building the Databricks app
So with that what you are the question is passing through Sheni and is managing in that way. One thing that I is it's quite funny. One of my guys that were working on this also uh they wanted also that he would like that the the way that you you can configure the shiny he wanted to be also in the code and it's not so if you want the configuration of shiny you have to do it inside the workspace and to use it you can use the shini conversation API.
So this is uh the look like like we have right now it's it's not the definitively look but it is uh it is a uh the way that we have for have the PowerBI report and the and shiny and we also try to in order to compare how good was the data bricks application or not we try to build also an Azure application and it was painful honestly because in data bricks app you have all the security you can set the security very easily you can you have all the security because you have the data governance so the datab bricks app is inside of the datab bricks platform so you have all the data governance you have all the access there so security was very easy and also the deployment the deployment it took like I don't know a couple of minutes every time that we are we did the deployment of the application uh with ashure application it was complicated because obviously you know the we need to have other people to define the resource group you know select pricing plan.
So we decided there are two ways basically to build this application is using a GitHub repository or um uh VS code ashure extension and we decided to use it the last one but again it was it was painful. We have several errors with uh permissions with security. So honestly the deployment with the data bricks app it was it was so much better. So the deployment was a lot faster. We have as I mentioned to you security model is a lot simpler because you have all the uh data governance and all the security inside the data bricks.
So and also the iteration because you are sync your um directory when you're building the application with data bricks. or iteration is is very easy in maintenance too. So the most important part of this session just could you give us the honor to Absolutely. Okay. All right. If this doesn't work got a leave them we we are you know people that like to take risk. Perfect. We're gonna zoom in a little for get we'll get there.
19:42 Live demonstration
All right. So, we're going to start by building confidence as an analyst in what we're looking at comparing what PowerBI is showing which I know is true to what GI is going to tell me. So, I'm going to do what's an easy question. So, kind of leads for maybe March of 2025. There we go. Perfect. That's loading. We'll get to March. Boom. 5,85 leads is that first column. 5,85. Let's do one more. Just a quick sanity check.
So, what was maybe my TGL rate for August of 2024? Again, all we're trying to do is what is PowerBI saying, which I know is true. It's what Genie is going to tell me. Excellent. While that is loading, let's take a look Perfect. Zoom up here real quick. This column is TGL conversion. So you see that right just in case. Excellent. 60. 8. rounding up 60. 8. Perfect. Excellent. So looking at this dashboard, if I'm an analyst, one of the Let's take a step back.
At Turnpoint, we have decided that conversion rate growth is a good determiner, very good determiner of how you are going to do as a business the existing year. If I wanted to pull conversion rate growth from this dashboard, the best way to do that would be looking at weeks and then doing some selection in PowerBI going to 2025, writing down the number 2024 ditto. What I can do in with Genie now that I know it's telling me the truth is I can ask it Something a little more challenging.
Again, if I was an analyst, I'd have to figure out the last week. We're in week 24. Maybe go to week 23. do some math. It's telling me that we're using fake data. Of course, TGL rate is decreasing by 290 basis points. It's telling me that my TGL conversion rate is 58. 99 59%. So now, instead of again having to mess with PowerBI, I have the answer right away after a prompt. Let's get to something a little more complicated.
Maybe not complicated, but using this dashboard setup, if I wanted to find the count of brands that are or are not growing at a certain rate, I really couldn't do that. But with the Genie, yeah. Doing a quick look at all these. That number on the left of 25 is greater than the number on 20 the left of 24. Take a little segue here. This to me is also the bullcase for Genie over maybe co-pilot. If I wanted to take this list of brands and if we had for the scope of what we're presenting on, we're only looking at this data for this dashboard.
But I could take these brands and ask what was the year-over-year demand for these brands. And if my data is trained on my demand data set, Genie would give me an answer. Whereas with co-pilot, the data is only going to you're only going to get an answer for the dashboard and data that you're looking at. So totally excellent. Perfect. So what is the the thing that you like it more about the solution? Which is your your most excited conclusion about this?
25:35 Conclusion and Q&A
So the a couple things. One, I think consolidation of how users engage with the data. They're not going to data bricks for Genie and then PowerBI for reporting. They're going to PowerBI for Genie and reporting and then of course having access to a single source of truth to ask a broad base of questions based off of all right well let's look at conversion rate. What does my demand look like? That's that's brilliant. and also the the fact for me that you don't have tons of different column definitions outside out there right so you have everything in data bricks data governance is completely uh reinforced and also one single version of truth and this is important because I can have different definitions of the same column you know if I don't have that um so for me that is the most important solution and I think that we build a good solution having this metric definition as the UC metrics is not there yet inside sheni so we are talking about the same thing too okay so please don't forget to fill the survey for the session uh I we really hope that this is some material that um you can have it also you know like if you want to go a little bit deeper into sheni conversation API and data bricks app.
There are a lot of videos also in YouTube that will help you you know and in starting playing with that so I will pause so you can take the pictures. Perfect. And so thank you so much for joining us. I hope we hope that you know it's this session was useful for you and thank you so much and if you have any questions just let us know.
Learn more about the Databricks Data and AI platform.
The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.