cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JasonF
Helper III
Helper III

Using Lookups (relationship fields) in Charts

In the example below I have a Master table (Divisions) in the one to many relations with Sales. Using the "Division Name" as the relationship/lookup. However if I wasnt to chart all sales by "Division Name" it does not appear to be a selection on Chart Properties. Can this be done programically?

Chart2.JPG

1 ACCEPTED SOLUTION

Accepted Solutions

Well  I did figure out a work around. If you create a collection, then add a column to that comlection and insert the text of the lookup into it.

ClearCollect( CompanyCollect, AddColumns(CompanyNameCollect, "Company", crdf5_DivisionName.'Division Name'))

Awkward, but it works.

View solution in original post

2 REPLIES 2
v-monli-msft
Community Support
Community Support

Hi @JasonF ,

 

I think this cannot be achieved so far. Consider to add an idea in below forum if you need this feature.

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

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.

Well  I did figure out a work around. If you create a collection, then add a column to that comlection and insert the text of the lookup into it.

ClearCollect( CompanyCollect, AddColumns(CompanyNameCollect, "Company", crdf5_DivisionName.'Division Name'))

Awkward, but it works.

View solution in original post

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 Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,175)