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.
Solved! Go to Solution.
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)
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
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
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)
User | Count |
---|---|
121 | |
88 | |
88 | |
75 | |
66 |
User | Count |
---|---|
217 | |
180 | |
138 | |
96 | |
73 |