The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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 |
---|---|
65 | |
60 | |
60 | |
53 | |
27 |
User | Count |
---|---|
181 | |
88 | |
70 | |
48 | |
46 |