Forum Discussion
austinjgreer
4 years agoFrequent Visitor
IP Address Compare and Categorize
Hello, I'm hoping to get some help with this. I've tried a few things but haven't been able to get exactly what I need. Apologies if there's an easy solution to this, I'm still learning how to us...
- 4 years ago
My bad I don't see you have IP on 2 columns
old_new = var searchIP = LOOKUPVALUE('Table'[prev],'Table'[prev],'Table'[current]) return IF( searchIP = BLANK(), "new","old")The result
freginier
4 years agoSolution Sage
With Power Query, create a merge in the same table with IP & DATE criteria
With DAX, create a calculated column to compare the date IP where IP match :
CALCULATE ( MAX ( DATE), filter( TABLE, [IP] = EARLIER([IP]) )
austinjgreer
4 years agoFrequent Visitor
I apologize, would you be able to show me an example with a screenshot? I'm having a hard time understanding. Still pretty new to this! Thank you for your response.
- freginier4 years agoSolution Sage
My bad I don't see you have IP on 2 columns
old_new = var searchIP = LOOKUPVALUE('Table'[prev],'Table'[prev],'Table'[current]) return IF( searchIP = BLANK(), "new","old")The result
- austinjgreer4 years agoFrequent Visitor
Awesome! This did exactly what I needed. Thank you so much!
- freginier4 years agoSolution Sage
You'r welcome 🙂