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

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
Highlighted
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
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!

Highlighted
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.
Highlighted
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

Highlighted
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.

Highlighted
Resolver II
Resolver II

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
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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