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

Community site session details

Session Id :
Power Apps - Building Power Apps
Suggested answer

Line Graphics

(0) ShareShare
ReportReport
Posted on by 349
Hi Community,
 
I have a sharepoint list with a column that identifies control points (A, B, C, .....). Another column shows the time, and the third shows the temperature. How could I make it so that every time I enter a new measurement, a graph is displayed with the temperature on the Y axis and the time on the X axis, for the control point where I am entering the measurement?.
 
Thanks¡.
Categories:
I have the same question (0)
  • Suggested answer
    Garima_PowerPlatform Profile Picture
    170 on at
    Line Graphics

    Hi,

    1. Prepare Your Data Source

    Ensure your SharePoint list has the following columns:

    • ControlPoint (text, e.g., "A", "B", "C", etc.)

    • Time (datetime)

    • Temperature (number)

    2. Setup Your PowerApps App

    a. Connect PowerApps to the SharePoint List

    • Open your PowerApps app.

    • Connect your app to the SharePoint list containing the control points, time, and temperature data.

    b. Create a Filtered Table for a Specific Control Point

    • Add a gallery or a collection that filters data based on the selected control point.

    • Example formula to filter the data for a specific control point (e.g., "A"):

      Filter('Your SharePoint List', ControlPoint = "A")

    c. Create the Graph

    • Use the filtered table to create the graph.

    • Add a line chart or bar chart, setting:

      • X-Axis: Time

      • Y-Axis: Temperature

    d. Graph Formula

    • If using a bar chart:

      BarChart(
      Filter('Your SharePoint List', ControlPoint = "A"),
      Time,
      Temperature
      )
    • If using a line chart:

      LineChart(
      Filter('Your SharePoint List', ControlPoint = "A"),
      Time,
      Temperature
      )

    e. Select Control Point

    • Add a dropdown or text input to select the control point (A, B, C, etc.).

    • Use the selected value to filter the data for the graph:

      Dropdown(
      Items: Distinct('Your SharePoint List', ControlPoint),
      Value: controlPointSelection,
      OnSelect: Set(controlPointSelection, Dropdown.Selected)
      )

    3. Enhancements

    • Date Filtering: Add additional filters (e.g., for a specific time period) to refine the graph.

    • Formatting: Customize the graph's appearance (colors, titles, labels) to match your needs.

    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 973 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 366 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 343

Last 30 days Overall leaderboard