Forum Discussion
Sum data between unrelated tables
- 6 years ago
Hi stephaniebl ,
did you change the m:n relationship?
You may download my PBIX file from here.
Hope this helps. - 6 years ago
Hi stephaniebl ,
are you using the date table now?
Create a sales measure...
Sales = SUM('CIA/HCA Cognos Revenue'[Extended Sales PMAR Amount]) + SUM('Adjust & Quota'[Adjustment])... and a YTD quick measure
https://docs.microsoft.com/en-us/power-bi/desktop-quick-measures
Hi stephaniebl ,
avoid the M: N relationship and and split your PLTable into a item table and component table.
The measure should look something like this.
Measure = SUM('CIA/HCA Cognos Revenue'[Extended Sales PMAR Amount]) + SUM('Adjust & Quota'[Adjustment])
Regards,
Marcus
Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
- stephaniebl6 years ago
Helper I
Hello, yes i tried that but unfortunately it is summing all values. mwegener
Each rep should show their own distinct revenue rollup.
- mwegener6 years ago
Most Valuable Professional
Hi stephaniebl ,
did you change the m:n relationship?
You may download my PBIX file from here.
Hope this helps.- stephaniebl6 years ago
Helper I
mwegener Thank you so much! That worked, i was doing a many many relationship between my adj/quota to item list but adding a separate table to define comp component with 1:1 relationship to both worked.
Can you also help with a formula to obtain % actuals to quota?
I tried this but it doesnt seem correct :
% to Quota=(SUM('CIA/HCA Cognos Revenue'[Extended Sales PMAR Amount]) + SUM('Adjust & Quota'[Adjustment]))/SUM('Adjust & Quota'[Quota])