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 August 31st. Request your voucher.
I am attempting to look up a value for the end of the month from a different (update/Maintenance History) table by account.
However, when using the lookupvalue function based on both the account and month End date, I only return matches if an update to the maintenance history table occurred in that respective month. How Do I lookup the value from the other table when there is not a matching date? I need to pull the value for the earlier date of occurence. See Below for an example of what is happening and for what the desired result should be.
Solved! Go to Solution.
Hi, @Anonymous,
see my solution:
Value = maxx(filter(Updated,PrimaryTable[Month End Date]>=Updated[Month End of Updated Date]),Updated[Value])
Hi, @Anonymous,
see my solution:
Value = maxx(filter(Updated,PrimaryTable[Month End Date]>=Updated[Month End of Updated Date]),Updated[Value])
User | Count |
---|---|
75 | |
70 | |
40 | |
30 | |
28 |
User | Count |
---|---|
104 | |
95 | |
51 | |
50 | |
46 |