cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
asanch41
Level: Powered On

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
Level: Powered On

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)
6 REPLIES 6
Community Support Team
Community Support Team

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.
asanch41
Level: Powered On

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 Team
Community Support Team

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
Level: Powered On

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
Level: Powered On

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)

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 50 members 4,881 guests
Please welcome our newest community members: