I need to create a table based on a lookup. The problem is that in the CALCULATETABLE I cannot use username() function.
CALCULATETABLE (
LOOKUPVALUE ( 'User Table'[SOC], 'User Table'[username], USERNAME () ),
'User Table'[username] = USERNAME ()
)
Does anyone have any idea how I can proceed?
What I would like to have is a table with the list of companies for the logged-in user.