A little bit of a newbie with Power BI DAX code. I have a log database that has two tables, Connections, and Employees. The two tables have a one-to-many relationship on sEmailAddress. The following DAX code that creates metrics works well in that I get a count of my employees that connect via VPN and I can get a list of those that connect via VPN
sVPN Count = CALCULATE ( DISTINCTCOUNT ( Connections[sEmailAddress] ), FILTER ( Connections, Connections[sTarget] = "VPN" ), FILTER ( Connections, Connections[sEvent] = "User Logon" ) ) sVPN Users = CALCULATETABLE ( DISTINCT ( Connections[sEmailAddress] ), FILTER ( Connections, Connections[sTarget] = "VPN" ), FILTER ( Connections, Connections[sEvent] = "User Logon" ) ) I am trying to find a method that can provide me a list of employees that DON'T login on any given day.