Forum Discussion
Total not summing properly
I get it. Ive done all these calcs. That is the right date range. I dont get it. 🙂
Ok next...
1) What relationship exists between calendar and Cohort?
2) If you go into the data table view and filter on ParentMinDate to the correct month can you see just the expected numbers.
3) Are you able to run performance analyser in power bi and get the query generated by the table visual.
Think I might have to mock something up locally but am away from a laptop until Sunday evening (uk).
- Anonymous4 years agoNot applicable
ParentMinDate-CALCULATE( min(Cohort[local_transaction_date]), ALLEXCEPT(cohort,Cohort[ParentPartnerID]))
Cohort is joined ot Partner table (customer) by Partner_sk=partner_sk
Cohort is joined to calendar by Calendar_date = calendar_date - Anonymous4 years agoNot applicable
Also its important to note that I have another measure just like that one but its calculating the current year prior month and the total works great. Its using an indicator just like the other one.
- bcdobbs4 years agoCommunity Champion
What happens to both measures if you set the relationship between calendar and cohort as inactive?