Conditional Starting View

Hi,

I've looked at several posts on "starting view" expressions, but I can't figure out if what I want to do is possible. 

I'd like to have the starting view of my app be determined by whether there one value of an ENUM is present. In other words, I have a "status" column with a couple of options. If the status is "WNV," I want a particular view to be the starting view.

I tried:

IF(CONTAINS[Status],"WNV","Radius Map","Some Other View"), but I can't use column values. ("Some other view" is just a placeholder...)

Is there another way to search for "WNV" to make this work?

0 7 833
7 REPLIES 7

Steve
Platinum 5
Platinum 5

@Ryan_Wagner wrote:

I'd like to have the starting view of my app be determined by whether there one value of an ENUM is present.


Present where?

Hi Steve,

I am talking about the value "WNV" in this "Status" column: 

Ryan_Wagner_0-1659543226473.png

If a row has that value present, I wanted the starting view to navigate to that row on a map view. 

The Status column of which row? Any of them?

Sorry if I was unclear. Yes, any row. There could be up to ten at a time with that value. Maybe that makes it impossible. Iโ€™m just thinking it through. Maybe the ANY function would work?

IF(IN("WNV", table[Status]), "Radius Map", "Some Other View")

Replace table with the name of that table.

Thanks a lot, Steve. I appreciate the help. Doesn't appear to be working, but I will see what else I may have missed and follow up if I can figure it out. 

Steve
Platinum 5
Platinum 5
Top Labels in this Space