Forum Discussion
Filling in for Missing Data?
- 6 years ago
Hi Anonymous ,
Sorry to reply late. Please try this:
Create measures like so:
Sum of Quota % max per month = MAX('Monthly Quota Table'[Quota %])Annual Quota Measure = SUMX ( ALL ( 'Main Table' ), 'Main Table'[Annual Quota] )* Quoted Revenue = [Annual Quota Measure]*[Sum of Quota % max per month]For detasils, please check the attached PBIX file.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Icey and kentyler , my employer has blocked sites like dropbox/google drive so I am unable to share my .pbix file. It is also hooked into our Salesforce CRM and SQL database so it wouldn't be possible. I will have to do my best explaining via excel sheets that can be replicated:
- Main Table:
- Monthly Quota Table:
- Date Table:
Additional Date Column Needed for Date Table:
Relationship Setups:
Date Table (Date) ---> Main Table (Date) (Single)
Date Table (Month) ---> Monthly Quota Table (Month) (Both)
Current Output:
Expected Output:
So the Annual Quota should be multiplied by the column next to it to give values for the * Quoted Revenue column, but it currently only populates for February since in my main table John Doe only has a February date associated with him.
Hi Anonymous ,
Sorry to reply late. Please try this:
Create measures like so:
Sum of Quota % max per month = MAX('Monthly Quota Table'[Quota %])Annual Quota Measure = SUMX ( ALL ( 'Main Table' ), 'Main Table'[Annual Quota] )* Quoted Revenue = [Annual Quota Measure]*[Sum of Quota % max per month]
For detasils, please check the attached PBIX file.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.