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

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
v-micsh-msft
Community Support
Community Support

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.

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!

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

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

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.

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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,130)