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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
SEACHAD
Helper I
Helper I

Template APPS sample data

I have a problem with template apps and sample data load.

 

My application uses the connector with Azure cost, and I cannot use real data as sample data

I loade sample data from an excel file on oneDrive. 

To load the data I use a parameter,

* if  the value is TEST  I load the sample 

* if you enter a different value , It connects to Azure and, if the EA and authentication are valid, download the data.

 

In power BI desktop it works fine and, if you put a false EA value in the parameter it gives an error but never tries to connect with onedrive (as I said before this only does so if the parameter value is TEST)

 

Now, when I create the template application in PowerBi service and select "Connect your data", it asks me to authenticate to Onedrive even if I don't set the parameter value to TEST. Why?

 

The question is, As sample data are mandatory, how do I charge the sample data if it is not from an excel file?

 

Thank you

1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi @SEACHAD ,

 

There may be a default connect value with OneDrive when you create the Template app, see details: https://docs.microsoft.com/en-us/power-bi/service-template-apps-create#create-the-test-template-app.

 

If you need to change the data source, you can update your App.

 

Best Regards,

Amy

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-xicai
Community Support
Community Support

Hi @SEACHAD ,

 

There may be a default connect value with OneDrive when you create the Template app, see details: https://docs.microsoft.com/en-us/power-bi/service-template-apps-create#create-the-test-template-app.

 

If you need to change the data source, you can update your App.

 

Best Regards,

Amy

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.