cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
asanch41
Regular Visitor

Get label value for selected column in a ColumnChart.

Hi everybody!

 

I am trying to get the label value for a selected column in a Column Chart in order to filter a Collection using that value. My labels at the moment are just months and when the user clicks a specific column, I want to filter a Collection using the selected month.

 

My current approach is the following: Filter(CollectionName, MONTH = ColumnChart1_1.Selected.MONTH). However, I am getting the same value everytime I select a different column. It doesn´t matter which column I click, the value seems to be static (btw, the static value is the one of the first column on my Chart).

 

Does anyone know how to get the label value corresponding to the selected column? Any help will be appreciated!

 

Thank you.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
FacundoGorla Resolver I
Resolver I

Re: Get label value for selected column in a ColumnChart.

Had a similar problem where I wanted to show the CURRENT value of a choice column.

 

Ended up using this, the datacardvalue is in view mode, this is because if I wanted to know the value of the column while I'm editing it. It wont change until you submit it. If you target a datacard in the same editform you are using the value while change "live" while you are editing.

 

Text(DataCardValue4_1.Selected.Value)

View solution in original post

6 REPLIES 6
Community Support
Community Support

Re: Get label value for selected column in a ColumnChart.

Hi @asanch41,

 

Thanks for the feedback.

The symptom could be reproduced from my side.

Checked the online documentation, but it seems there is no corresponding part mentioned regarding how to work with the selected item:

Column chart and line chart controls in PowerApps

I will forward this from my side, and if I got any response back, I will post here.

Regards

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
asanch41
Regular Visitor

Re: Get label value for selected column in a ColumnChart.

Thank you very much @v-micsh-msft for your help. Let me know if you find a solution for this. I will keep trying to solve it.

 

Regards!

Community Support
Community Support

Re: Get label value for selected column in a ColumnChart.

Hi @asanch41,

 

There is a fix being released on this in mid-May.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Re: Get label value for selected column in a ColumnChart.

Is this still on track for relese this month?  I just started building up an App and am having the exact same issue

 

Thanks,

 

-zac

asanch41
Regular Visitor

Re: Get label value for selected column in a ColumnChart.

Hi Zac,

 

I really don´t know what happened with this issue. I wasn´t able to make it work and I decided to start using Power BI instead. It works better for the needs I had.

 

You could take a look at it and determine if that could help you better.

 

Regards,

 

Alejandro.

FacundoGorla Resolver I
Resolver I

Re: Get label value for selected column in a ColumnChart.

Had a similar problem where I wanted to show the CURRENT value of a choice column.

 

Ended up using this, the datacardvalue is in view mode, this is because if I wanted to know the value of the column while I'm editing it. It wont change until you submit it. If you target a datacard in the same editform you are using the value while change "live" while you are editing.

 

Text(DataCardValue4_1.Selected.Value)

View solution in original post

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Top Solution Authors
Top Kudoed Authors
Users online (6,836)