Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
I have tried to create a Lookup between two tables. What I am trying to do is to determine what is the max amount of days that a project can take based on the SLA table. This SLA has a variety of critera: Wordcount, service needed, department and type of material. I have odd results and only one of the max SLA get populated, the rest they do not seem to be matched, anyone would know why?
Solved! Go to Solution.
Hi, @margheritamart
You can try the following methods.
Column:
Max SLA = CALCULATE(MAX('SLA table'[Max SLA]),
FILTER('SLA table',[Department]=EARLIER('WordCountSummary per language'[Department])
&&[Service needed]=EARLIER('WordCountSummary per language'[Service type])
&&[Wordcount bands]=EARLIER('WordCountSummary per language'[Word Count Bands SLA])
&&[Document type]=EARLIER('WordCountSummary per language'[Material type])))
If this does not solve your problem, please provide more data.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @margheritamart
You can try the following methods.
Column:
Max SLA = CALCULATE(MAX('SLA table'[Max SLA]),
FILTER('SLA table',[Department]=EARLIER('WordCountSummary per language'[Department])
&&[Service needed]=EARLIER('WordCountSummary per language'[Service type])
&&[Wordcount bands]=EARLIER('WordCountSummary per language'[Word Count Bands SLA])
&&[Document type]=EARLIER('WordCountSummary per language'[Material type])))
If this does not solve your problem, please provide more data.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks you Charlotte, it worked 🙂
please share sample data. and confrim whether all of the criteria has to match or any of the to be matched.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 30 | |
| 26 | |
| 17 | |
| 11 | |
| 10 |