Hey Power BI Community,
I have a problem, that I'd like some help on. I generally know a bit of coding unfortunately DAX still feels very unnatural to me. Anyhow here it comes.
I have a certain amount of sessions. A session consist of an ID DateTime and URL.
Now we have defined (for now) a succesful session if someone does a search, then ends up chatting. However in that session, it could be that the person got to a new chat through a different route. So there's a catch.
This is what one session looks like:
So basically first I want to isolate whatever I'm going to calculate to one specific ID (one session) AllExcept I guess...?
Then I want to order that based on DateTimeStart (changed the type already).
Then I want to check where URL /searchboardresults is (if it exists). Then check if the URL /newchat comes after based on DateTimeStart.
And lastly it needs to check in between if URL /Connections OR /Favorites
If it meets all those requirements, we've got a succesful session.
I wonder if this kind of complexity is even possible in DAX. But surely I'm at the moment kind of lost in a process that seems like coming to no solution...
I hope I made my point clear.
Any ideas? Tips? Something that will guide me in the right direction?