Forum Discussion
Creating a calculated column from another table based on date criteria
- 7 years ago
Anonymous attached with this reply.
Hi parry2k !
Thank you again, do you mind uploading to this one-drive folder please?
https://1drv.ms/f/s!AuheBS0uRNVlmDiCBAHEaJ7Yt-LV
Thanks again!
Anonymous attached with this reply.
- Anonymous7 years agoNot applicable
parry2k Thank you so much!
- Anonymous7 years agoNot applicable
parry2k - sorry for late response, just a follow up to better understand campaign sales in the mailers table.
How exactly does this formula below work?
It gives me the right answer, but having trouble following the logic.
Campaing Sales = CALCULATE( COUNTROWS( Sales ), TREATAS( VALUES( Mailers[Campaign] ), Sales[Campaign] ) ) - Anonymous7 years agoNot applicable
I did a bit more research, and It would be a ton of help if I could understand the logic below, but also I'm wondering why we didn't use a summarize along with customer id so we join on both customer id and mailers?
It seems to be doing everything correctly, but I saw others using a summarize function.
Campaing Sales = CALCULATE( COUNTROWS( Sales ), TREATAS( VALUES( Mailers[Campaign] ), Sales[Campaign] ) )