cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
marsyazahid72
Helper I
Helper I

How to filter in charts and create a fixed value for labels on the line chart in Power Apps?

Hello!

 

I am new with charts in Power Apps. However, anyone could help to create a fixed value for labels on the line chart?

 

My scenario is:

1. a Sharepoint list contains Student Email, Result's Year, Result's Semester, Result's GPA, Result's CGPA
    & Result Slip (attachment).

 

 

 

2. I want to create a line chart that displays specifically only for the student that accesses this app without combine with other student result's information and fixed value for labels at x-axis if the data source had edited/added/deleted?line 2.JPG

Highly appreciate any help and attention! thank you in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
marsyazahid72
Helper I
Helper I

Hello everyone!

 

I had found the solution.
for filter & sort the value at the x-axis in ascending order.


1. Click on the line chart (where I link with the Sharepoint list) and use the formula below on the Items :

SortByColumns(Filter(Stud_AC,Stud_Email = txt1.Text),"AC_Sem",Ascending)

 

2. Before that, I also add TextInput as txt1, put the formula User().Email and make it invisible.

 

 Then, the result as per desired!

View solution in original post

2 REPLIES 2
marsyazahid72
Helper I
Helper I

Hello everyone!

 

I had found the solution.
for filter & sort the value at the x-axis in ascending order.


1. Click on the line chart (where I link with the Sharepoint list) and use the formula below on the Items :

SortByColumns(Filter(Stud_AC,Stud_Email = txt1.Text),"AC_Sem",Ascending)

 

2. Before that, I also add TextInput as txt1, put the formula User().Email and make it invisible.

 

 Then, the result as per desired!

Hi,

 

Thanks for your follow up post! I am glad that you were able to figure this out. Hopefully this will prove to be useful for future communities users.

 

Regards,

 

Alex

 

-------

 

Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Solution Authors
Top Kudoed Authors
Users online (4,146)