cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
PremSagar
Level: Powered On

Bar/Line Graph

Hi all,

 

I am working on Maintenance KPI report application for my company. I want help regarding below example similar to my application,

 

example: I have 4 fruit with me and i sell some qty everyday as you can see in the below attachment, whenever i tap on particular fruit i want its daily, Weekly and monthly sold details as per the table to be displayed in line/Bar graph.

 

I have 3 buttons, when i tap on each button respective table data to be displayed.

 

I have 3 gallery in the same screen which is for daily, weekly and monthly respectively.

 

Can anyone please help me on this?2nd screen.PNGDaily data.PNGMainScreen.PNGWeekly data.PNG

2 REPLIES 2
Community Support Team
Community Support Team

Re: Bar/Line Graph

Hi @PremSagar ,

 

Are you having 3 tables as the data sources in the app? If so, then you can insert 3 bar/line charts according to your need. Then set below formulas for each button:

Button1.OnSelect=Set(V1,true);Set(V2,false);Set(V3,false)
Button2.OnSelect=Set(V2,true);Set(V1,false);Set(V3,false)
Button3.OnSelect=Set(V3,true);Set(V2,false);Set(V1,false)

Then set the Visible properties of each bar/line chart to:

Chart1.Visible=V1
Chart2.Visible=V2
Chart3.Visible=V3

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
PremSagar
Level: Powered On

Re: Bar/Line Graph

Hi @v-monli-msft 

 

Above solution is working, but in the graph only first 2 column is displaying. how to get all the columns of above table

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 218 members 5,280 guests
Please welcome our newest community members: