Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Syndicate_Admin
Administrator
Administrator

Power Apps Visual for Power BI - CDS Direct Query Mode

Power Apps Visual for Power BI - CDS Direct Query Mode

 

In this video we will use the Power Apps visual in Power BI to add/update data in CDS using Direct Query Mode.

The Power App will refresh the Power BI report instantaneously and provide a virtually unlimited refresh scenario.

The Power BI report is using CDS with direct query mode to not rely on scheduled refreshes or imports.

SharePoint Import Mode is also covered as part of this video.

 

Setup CDS for Direct Query

https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/view-entity-data-power-bi

 

Direct Query Vs Import Vs Live Connection

https://docs.microsoft.com/en-us/power-bi/connect-data/refresh-data

https://www.youtube.com/watch?v=y4S-k34qmnw

https://radacad.com/directquery-live-connection-or-import-data-tough-decision

 

List of data sources and their supported refresh types

https://docs.microsoft.com/en-us/power-bi/connect-data/power-bi-data-sources

 

--------------------------------------------------------------------------------
Thanks,
Reza Dorrani, MVP
YouTube
Twitter

4 REPLIES 4
rjhale
Helper IV
Helper IV

This was really helpful for us to test using DQ to a CDS entity.  The report that we had been using this approach in was working fine for the past 5 weeks or so, but as of this morning we're seeing the following error when we load the report in the Service:

 

  • Underlying Error: PowerBI service client received error HTTP response. HttpStatus: 400. PowerBIErrorCode: QueryUserError
  • QueryUserError: Index was outside the bounds of the array.. The exception was raised by the IDataReader interface. Please review the error message and provider documentation for further information and corrective action.

The individual visuals show the same "index was outside the bounds" error message.  Everything works as expected in Power BI desktop though.  We've tried republishing, resetting permissions, etc, but that error persists in the report where we're using DQ to a CDS entity. 

 

I know this is still in preview, but was there a recent change that would cause this?  Any other suggestions to work around this error? 

EStieg
Employee
Employee

This is great Reza, thank you for sharing!

 

Eric

Thank you

Thank you

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors