Hi All, I have created a Gallery and loaded the data from excel as table format The data is Table1 and layout has three values Body as AvailableHrs, Subtitle3 as Month and Title4 as Year and it is coming fine as expected. I have created a Texbox and using the below formula to populate hrs based on the current month but the values compared have mismatched type (Left is text and right is number) but the same formula is working fine in another apps Text(LookUp(Table1,Month=(Month(Now())),AvailableHrs)) But i have use the below formula then it is working fine. Please help Text(LookUp(Table1,Month="2",AvailableHrs))
Solved! Go to Solution.
Hi @subramanian
To fix a type mismatch error, you can use the Value function to convert a string to a number, or the Text function to convert a number to a string.
Here's an example of how you would use these functions:
Text(LookUp(Table1,Value(Month)=(Month(Now())),AvailableHrs))
or...
Text(LookUp(Table1,Month=Text(Month(Now())),AvailableHrs))
Hi @subramanian
To fix a type mismatch error, you can use the Value function to convert a string to a number, or the Text function to convert a number to a string.
Here's an example of how you would use these functions:
Text(LookUp(Table1,Value(Month)=(Month(Now())),AvailableHrs))
or...
Text(LookUp(Table1,Month=Text(Month(Now())),AvailableHrs))
thanks. It working
HI,
I have the same problem here but mine is slightly different. I get the same message but I don't know how I would apply the value or text function . The dtat a in this form is based off a sharepoint list.
Hi @Fbelay
Supposing that SubmissionStatusCount is a text column in SharePoint, I'd try the following formula....
Filter('ID Theft Tracking', "SubmissionStatusCount" = "1")
Thanks for replying. The blue notification goes away but it won't filter my data. In the sharepoint list, I made sure the column "SubmissionStatusCount" was a text field instead of a number.
I am not really understanding why the filter, sort, or sortbycolumns will not work. Its weird. I just want to filter my gallery to only show specific data.
User | Count |
---|---|
139 | |
132 | |
75 | |
72 | |
69 |
User | Count |
---|---|
213 | |
200 | |
64 | |
62 | |
54 |