cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
atif1455
Frequent Visitor

Display a pie chart from single row columns comparison values

Hi ,

 

How  can I show a pie chart from single row columns values. 

 

I have an employee monthly salary row details , want to show gross and net amount values comparison  of (multi columns ) in pie chart for that specific month (row) ..

 

Any body have an idea how to do it for single row..  Its working if I have a list of values and pass collection to pie chart for a specific column.

 

regards

 

single row.png

1 REPLY 1
v-yutliu-msft
Community Support
Community Support

Hi @atif1455 ,

Do you want to use two fields as a series/labels?

I'm afraid it's not supported in PowerApps currently.

You could only set one field as a series/labels.

In pie chart, it could only compare values of series.

It can not compare values between series and labels.

So I suggest you reshape your table.

For example: 

ClearCollect(newdata,{data:First(originaldata).GrossPay}{data:First(originaldata).NetPay})

 

 

 

Best regards,

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

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (43,523)