Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Can a line chart join gaps in data

Like (0) ShareShare
ReportReport
Posted on 14 Jan 2024 09:18:12 by 50

I have am charting data from a collection for three subjects representing tests which are taken either in the Autumn term, or the summer term. One of the subjects only tests during the autumn term so that subject has no data for the summer term.

 

When charting the relationship between the test scores, it considers a missing entry as 0, and therefore does this to the chart. Is there a way of getting the chart to join the data points?

 

chart.png

Categories:
  • mrwilliams Profile Picture
    50 on 19 Jan 2024 at 16:50:21
    Re: Can a line chart join gaps in data

    Thanks for the reply @RogierE  - I will have a go this weekend.

  • RogierE Profile Picture
    862 Super User 2025 Season 1 on 14 Jan 2024 at 19:55:27
    Re: Can a line chart join gaps in data

    You could either calculate and add the intermediate values to your table or add a separate chart for the Ability figures. I would go for the last, as it could be confusing to the user that there is a label for a value that is not in your table. 

    So if you copy your chart, get rid of the title and legend of this copy, and set the grid style to "None", you would get something like this: 

    RogierE_0-1705261683210.png

     

    Of course for this to work you would need to: 

    • filter out the empty values in your second chart, so I added this to the Items property: 
    Filter('New tables',!IsBlank(Ability))
    •  get rid of the data in your first chart, so to the items of that chart I added this:
    DropColumns('New tables',"cr594_ability")
    • connect the MaxY, MinY, X, Y, Height, Width etc of the copy Graph to the original Graph so that they stay aligned. 

    Please like the reply and/or accept it as the solution if the answer is what you were looking for.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
MS.Ragavendar Profile Picture

MS.Ragavendar 14

#2
LC-26081402-0 Profile Picture

LC-26081402-0 10

#3
stampcoin Profile Picture

stampcoin 6

Overall leaderboard
Loading started