I have an existing PowerApp that is functioning for over a year. I want to enhance it and add a new view.
I have added new view vTblFundTblClassMappingEffDates via On Premises SQL data connector. The view is visible in the data pane.
When I try to build a new collection
ClearCollect(
EffDatesFundTblClassMapping,
ShowColumns(
'[PowerApps].[vTblFundTblClassMappingEffDates]',
"Id",
"effDate",
"effDateStr"
)),
I am getting error messages:
The function ShowColumns has some invalid arguments. Name isn't valid. This identifier isn't recognized.
When I clean the name of the view from the formula and try to choose from the list, it is not available (I can just choose from the existing view names).
Please help
Solved! Go to Solution.
Hello Warren,
Quite strange. New view does not include brackets now. Instead of '[PowerApps].[vTblFundTblClassMappingEffDates]' it is 'PowerApps.vTblFundTblClassMappingEffDates'. While I would prefer more consistency, the bottom line is - it works.
Thank you for your support
Hi @ZStaniek ,
There is something not obvious wrong here
The syntax appears valid (I assume this in in the middle of a Concurrent statement) and it has accepted the almost identical one above. The only thing I would ask is if you have not repeated the collection name somewhere above. If not, it seems to not be liking one of the field values - you might check these.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Warren,
Yes, this is a part of Concurrent statement.
The view is not accessible when I try to browse through, even if visible in the left pane.
I tried to delete and re-create. Did not help.
Thank you,
Zenon
Put this on a button
ClearCollect(
colClassMap,
[PowerApps].[vTblFundTblClassMappingEffDates]
)
and go to View > Collections > colClassMap and see what is in there (particularly the field names you are trying to collect)
Hello Warren,
Quite strange. New view does not include brackets now. Instead of '[PowerApps].[vTblFundTblClassMappingEffDates]' it is 'PowerApps.vTblFundTblClassMappingEffDates'. While I would prefer more consistency, the bottom line is - it works.
Thank you for your support
User | Count |
---|---|
122 | |
87 | |
86 | |
75 | |
67 |
User | Count |
---|---|
214 | |
181 | |
137 | |
96 | |
83 |