Select to view content in your preferred language

Text box inside Card widget and stand alone text box, poitning to same view, show different totals

186
2
08-28-2024 04:49 PM
JoseSanchez
Frequent Contributor

Good afternoon,

I created a view that counts records from a hosted layer with a condition.  

I added in the page a text box widget and display the count(Projects)  from the view. and also I added a text box inside a Card widget,  and connected to the same view and the results are different.   In the stand alone it shows 190 records, the correct value, but in the one inside the Card widget it shows a total of  3.

Thanks

 

0 Kudos
2 Replies
Ke_Xu
by Esri Contributor
Esri Contributor

Hi JoseSanchez,

I couldn't reproduce this issue. Could you share your data with me so I can take a look?

Ke_Xu_0-1725071072742.png

 

Thanks,

Ke

0 Kudos
SanchezNuñez
Frequent Contributor

Good morning @Ke_Xu 

I found the error, I was counting a variable that has only 3 different values COUNT(ProjectType) so the COUNT showed only 3, I replaced with a COUNT(OBJECTID) and it worked.

Thanks

 

0 Kudos