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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
zulu2020
New Member

Power BI Apps in Test or Prod?

Hello,

We've have a power bi apps solution implemented in our environment. We've 3 different environments, Dev, Test, and Prod.

Developer build and test reports/dashbords and apps in Dev. Developers have no access to Test and Prod. Once the apps is deployed in Test then Testers will start doing their report/data validation. Once Test is passed then it will get deployed to Prod. The same test team validates  report/data in Prod as well.

Recently, one of the test user asked "How do I know whether the data points to Test or it points to Prod?" I know the deployment was done correctly and he also know the data is successfully validated but everyone wants to see whether the apps is running on Test or Prod.

Is there a way to display a small text or something in apps so when the user access it, the apps will display "Test" if they are running in Test and "Production" if they are running it in Prod.

Pease let me know how to do this in Power BI Apps.

 

Thanks,sample_power_bi_apps.png

1 ACCEPTED SOLUTION
aj1973
Community Champion
Community Champion

When you click on Update App you will see Logo and Theme of the App in the setup section. You can add and edit the title of the App...

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

6 REPLIES 6
zulu2020
New Member

Thank you @aj1973 and @v-jianpeng-msft,

I believe the issue is within my tenant. But it looks like the only option that I've to differentiate between Test and Prod environment is just the "Color". I can't put a text like "PROD" or "Test" for users to see who have access to both environments.

 

Thanks.

v-jianpeng-msft
Community Support
Community Support

Thank you @aj1973 

Hi, @zulu2020 

If you want to get the stage of the Pipeline that the current report is in, you can do so through the Power BI REST API. Return the stage of the current Pipeline by calling the following API:

Pipelines - Get Pipeline Stages - REST API (Power BI Power BI REST APIs) | Microsoft Learn

vjianpengmsft_0-1722482597467.png

 

GET https://api.powerbi.com/v1.0/myorg/pipelines/{pipelineId}/stages

 

vjianpengmsft_1-1722482685080.png

Put the captured data into your report and then display it with visual visual objects.

 

 

Best Regards

Jianpeng Li

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

 

 

aj1973
Community Champion
Community Champion

Hi @zulu2020 

Normally the data should be different from dev, test to prod. But you can change the color theme of the Apps like blue for dev orange for test and green for prod.

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Yes, the data is definitely different between the environment but they would like to quickly see the difference instead of checking the data.

If the apps is same in dev/test/prod, how do we change the apps theme? wouldn't that require to re-deploy to another environment?

Is it possible to add some text like "Test" or "Prod"?

 

Thanks,

aj1973
Community Champion
Community Champion

When you click on Update App you will see Logo and Theme of the App in the setup section. You can add and edit the title of the App...

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

I'm new to Power BI. I'm attaching a screen shot which is different than MS Learn version. See attached screen shot:

In Development section of Deployment Pipeline, on the bottom it shows "Publish app" and "Deploy to test" options and so is in test section of Deployment Pipeline.

That's not exactly what I see on mine. What I see is:

In Development section of Deployment Pipeline, on the bottom it shows "View app" and "Deploy" options and in test section it shows "Publish app" and "Deploy". I re-created my app in test then published it. Then in Prod I can only see the theme of the app, I've to add all the contents and audience again 😞

It sounds simple but the service is complex to perform.

 

zulu2020_0-1722439108185.png

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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

Top Solution Authors