Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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 |
|---|---|
| 55 | |
| 37 | |
| 23 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 58 | |
| 39 | |
| 21 | |
| 21 |