Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi everyone, I'm struggling to find a solution for this, I'm trying to calculate the total spend per contract type with the option to slice the spend by month, year etc but as we have multiple suppliers across the contract types my first idea to just create a simple relationship between two columns fails miserably...
An example of the dataset is below:
Any help you can suggest will be greatly appreciated.
Thanks,
Tony B
Solved! Go to Solution.
@tonybrogan , Join Table 1 and Table 2 on supplier , use many to many bi-directional join
and then you can build this visual using table 2's contract type, and table 1 sum of amount
Hi,
In Table 1, write this calculated column formula to bring over Contract Type from Table 2.
Contract Type = lookupvalue('Table 2'[Contract type],'Table 2'[Supplier],'Table 1'[Supplier])
To your visual, drag Contract Type from Table 1. Write this measure
Spend = sum('Table 1'[Amount])
Hope this helps.
Hi @tonybrogan,
Did amitchandak 's suggestions help with your scenario? if that is the case, you can consider Kudo or accept his suggestions to help others who faced similar requirements.
If that also doesn't help, please share more detailed information to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
@tonybrogan , Join Table 1 and Table 2 on supplier , use many to many bi-directional join
and then you can build this visual using table 2's contract type, and table 1 sum of amount
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.