The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
@Anonymous ,
Could you please share some sample data and give the expected result?
Regards,
Jimmy Tao
Please try.
1. Use summarize and sum up purchase data by supplier
https://docs.microsoft.com/en-us/dax/summarize-function-dax
2. Then either by using lookup or the formula similar to one given below to populate the new column with rates based on the amount
https://docs.microsoft.com/en-us/dax/lookupvalue-function-dax
Max Rate = MAXX(filter(Bonus ,SummPurchase [Amount] >= 'Bonus'[min Amount] && SummPurchase [Amount] <= 'Bonus'[Max Amount]),Bonus[Percent])
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks.
My Recent Blog - https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601