I have a couple of suggestions. First, I think the expression can be simplified to the following:
return When (
value >= 1000000, Text((value / 1000000), "$##.#m"),
value >= 100000, Text((value / 1000), "$##.#k"),
value >= 1000, Text((value / 1000), "$#.#k"),
I think you should be able to use nested iif statements to label your data the way you want. Something along these lines should work:
iif($feature.price < 1000, "$" + $feature.price, iif($feature.price < 1000000, "$" + $feature.price/1000 + "K", iif($feature.price < 1000000000, "$" + $feature.price/1000000, "")))
With this statement, prices below ...
This worked for me:
aprx = arcpy.mpArcGISProject("CURRENT")
m = aprx.listMaps("Map")
itemid = '2ec9f27bea254a428e4eb70e7650672d'
m.addDataFromPath("https://mycounty.maps.arcgis.com/home/item.html?id=" + itemid)
The layer gets added to the Pro map.
A 1-year student licence includes Survey123, so your Esri subscription isn't the problem here. The issue is that your organisation administrator hasn't given you the privileges to create and publish new content. You need to make sure that your account has been given the 'Creator' user type and 'Publisher' role. This allows you to create new content, ...
I know that this is definitely possible. I've used apps created by another organisation and been able to see/query the data through the app, but not been able to view or open the data in my own map. Although I can see the item when I search for it, it throws an error when I try to open in map view. I'm not sure how this is done, but I think it requires ...
It is possible to do this with Arcade expressions. You can see a sample expressions here.
var related_table = FeatureSetById($datastore, "1");
var filter_query = "parentglobalid = '" + $feature["globalid"] + "'";
var related_data_filtered = Filter(related_table, filter_query);
var related_data_filtered_count = Count(related_data_filtered);
var output = "";