cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

Re: Display a pie chart from single row columns comparison values

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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (12,585)