cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Power Apps Staff tahoon
Power Apps Staff

Re: Nope - still not working properly.

Unfortunately, there is no method to directly link pie colors to labels.

 

The charts in PowerApps are only for basic purposes. It's worth mentioning that you could look into Power BI for richer visualization capabilities. It's easier to customize pie charts. Power BI visualizations can be embedded inside PowerApps. It is a separate product from PowerApps though, and has different price plans.

 

 

Anonymous
Not applicable

Re: Nope - still not working properly.

Seems I may have solved it...

 

Rather than using the initial data table to assign colours, we include the same Chart Formula required to gather the data in the ItemColorSet formula and select statement:

 

ForAll(AddColumns(GroupBy(PieTest, "PriorityValue", "Label"),"Count", CountRows(Label)),
    Switch(
        PriorityValue,
        "Low", Green,
        "Medium", Orange,
        "High", Red
    )
)

So far, this appears to be working...

Helpful resources

Announcements
thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (5,588)