Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi,
I have two tables, spend table and contract table similar to the below normalised data
I have linked the two tables by Vendor ID and have a dim-date (calendar) table.
This may be two issues, but I can't sort out how to sumarise the spend for each year and compare this year and last year spend by supplier but also, to be able to add whether or not there is a published contract, when I try to add the contract info, it duplicates the lines and similarily if i load up the contract info and try to add the spend, it duplicated the spend.
I tried
Thanks
Emma
Hi @Anonymous ,
Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.
Best Regards
Lucien
unfortunately not, but as my work won't let me use google drive, i can't upload the files, only a picture of the tables included below
Hi @Anonymous ,
The reason for your problem is that your contract table has duplicate data and returns multiple statuses when vendor id=173153. As shown in the red line below, eliminating the duplicate data from the table will resolve the error.
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
@Anonymous any chance you can provide some sample data?
@Anonymous , I am assuming you are trying for a new column
Contract = if(MAxx(filter('Contract-Data','Contract-Data'[Vendor Id] =[Vendor]), 'Contract-Data'[Term Type]) = "Published","Yes","No")
if needed
refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8
Hi, thanks, that has got rid of the error, but all the responses are "no" when there definately should be some "yes"
I can't work out how to attach an excel spreadsheet to share the data
@Anonymous please upload in 1/g drive and share the link here and mention the desired end result too.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.