Skip to main content

Notifications

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 335
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:
  • 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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1