web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Which tool has to be used
Power Apps
Unanswered

Which tool has to be used

(0) ShareShare
ReportReport
Posted on by 2

Hi all,

 

I've to display dynamics data inside a svg image. For example, I've a building image, with several fields and in each field I need to display the data (eg. the temperature) from a database.

 

I'm quite new in Power apps. Do you know which solution (Power BI, Power Apps,...?) I've to use? 

 

Thanks for your help

 

Best regards, 

Steve

Categories:
I have the same question (0)
  • Verified answer
    Prabhakar_S Profile Picture
    735 Moderator on at

    Hi @SteveRoh1 ,

     

    To display dynamic data inside an SVG image where you want to overlay information such as temperature from a database onto specific regions of the image, Power Apps would be a suitable tool for this task. Here's how you can approach it:

     

    Create a Power App:
    - Start by creating a canvas app in Power Apps. You can connect this app to your data source (e.g., a database) that contains the dynamic data you want to display.

    Upload SVG Image:
    - Upload your SVG image (the building image) into Power Apps. You can use an Image control to display this image on the canvas.

    Overlay Data:
    - To overlay data onto specific regions of the image, you can use other controls like Labels, Text Input controls, or Gallery controls. Place these controls over the image where you want to display data.
    - Use formulas to dynamically set the text or values of these controls based on the data from your database. For example, you can use the LookUp or Filter functions to retrieve the relevant data based on the region or field in the building.

    Interactive Features:
    - If you want to make your app interactive, you can add features like clickable regions on the SVG image that allow users to select a specific field or region to view more details or edit the data.

    Data Binding:
    - Ensure that the data from your database is bound to the controls appropriately. For example, if you have a Label control to display temperature, set its Text property to the temperature data from your database.

    Testing and Deployment:
    - Test your app to ensure that the dynamic data is displayed correctly on the SVG image.
    - Once your app is ready, you can deploy it for use by your intended audience. Users can access it through a web browser or a mobile device.

     

    Power BI, on the other hand, is more focused on creating interactive reports and dashboards with visualizations but may not be the best tool for overlaying data on a specific SVG image.

     

    Power Apps is a suitable choice because it provides the flexibility to create custom canvas apps with interactive elements and data connections, making it well-suited for displaying dynamic data within an SVG image or any custom interface.

     

    Thanks!!!

     

    Please consider marking my response as the accepted solution if it successfully resolves your concern. If you found the information beneficial in other aspects, kindly express your appreciation by giving it a thumbs-up.

  • v-bofeng-msft Profile Picture
    on at

    Hi @SteveRoh1 ,

     

    I've made a test for your reference:

     

    I'm assuming to dynamically set the color of the svg image, one can do

     

    1\Add a image control and set it's image property to:

    "data:image/svg+xml;utf8, "&EncodeUrl("
    <svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-funnel-fill' viewBox='0 0 16 16'> <path d='M1.5 1.5A.5.5 0 0 1 2 1h12a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.128.334L10 8.692V13.5a.5.5 0 0 1-.342.474l-3 1A.5.5 0 0 1 6 14.5V8.692L1.628 3.834A.5.5 0 0 1 1.5 3.5v-2z' fill='"&ColorVariable&"'/> </svg>
    ")

     

    2\You could use the variable ColorVariable to control the image fill color, for example:

    Set(ColorVariable,"#FF0000")

     

    Best Regards,

    Bof

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard