Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Is there any way to lookup values from another table based on the most recent date, without using the LOOKUPVALUE function? I'm creating a calculated column and I'm getting ciruclar dependency error when I use the LOOKUPVALUE function.
This is the code that is giving me circular dependency:
LOOKUPVALUE(Table1[Summary], Table1[ID], MyTable[ID])
Solved! Go to Solution.
@nok Try:
Column =
VAR __ID = [ID]
VAR __Result = MAXX( FILTER( 'Table1', [ID] = __ID ), [Summary] )
RETURN
__Result
Hi,
Share some data to work with and show the expected result. Share data in a format that can be pasted in an MS Excel file.
@nok Try:
Column =
VAR __ID = [ID]
VAR __Result = MAXX( FILTER( 'Table1', [ID] = __ID ), [Summary] )
RETURN
__Result
User | Count |
---|---|
60 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
40 | |
39 |