cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Usernametwice23
Helper V
Helper V

Unexpected characters. Characters are used in the formula in an unexpected way error?

Hi everyone 

 

I am so close to figuring this out, the syntax is just giving me an error when i try to filter down on the (views) table. I am getting the error mentioned in the heading. 

 

Here is the syntax I receive the error on - 

SortByColumns(Filter('Daily Measurement', Person.Name=Gallery.Selected.Person.Name),"dlg_number",Ascending), 'Daily Measurement (Views)'.'Today Active')

I  think it's the last part of the formula but I need to filter it based on these parameters because that's where the records I need are at. Any Idea how I can include 'Daily Measurement (Views)'.'Today Active')' without the error? 

 

Thanks and Kind regards everyone. 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Usernametwice23 


If you want to apply an additional filter condition to your 'Today Active' view, I would try the following syntax:

 

SortByColumns(
     Filter('Daily Measurement', 
            'Daily Measurement (Views)'.'Today Active',
            Person.Name=Gallery.Selected.Person.Name
     ),
     "dlg_number",
     Ascending
)

 

View solution in original post

3 REPLIES 3
gabibalaban
Dual Super User
Dual Super User

SortByColumns(
     Filter('Daily Measurement', Person.Name=Gallery.Selected.Person.Name),
     "dlg_number",
     Ascending).'Daily Measurement (Views)'.'Today Active'

Screenshot 2021-09-18 161809.png

Hi @gabibalaban Thanks for your help.

I get this error seen in the screen shot after trying this.

Hi @Usernametwice23 


If you want to apply an additional filter condition to your 'Today Active' view, I would try the following syntax:

 

SortByColumns(
     Filter('Daily Measurement', 
            'Daily Measurement (Views)'.'Today Active',
            Person.Name=Gallery.Selected.Person.Name
     ),
     "dlg_number",
     Ascending
)

 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,305)