Forum Discussion
Grouping by Week Starting Date
- 9 years ago
Thank you Angelia, I beleive I have it now.
The problem was that I had to create a new column on my date table for "Weeks", then join the "Live Agent Created Date" field to that new column on the Date tab. Once I did that, it is now showing up correctly.
Thanks again for the help!
Randy
Hi Randyr,
I create sample data and test, you need to remove ".[Date]" from your formula.
WeekGroup = CALCULATE(COUNT('Live Chat Transcript'[CaseId]),ALLEXCEPT(DateKey,DateKey[WeekStarting]))
Or you also use the following measure, it still return right result.
WeekGrounp11=COUNT('Live Chat Transcript'[CaseId])
Best Regards,
Angelia
Thank you Angelia, I must be doing something wrong as it is still not working for me. The grouping looks correct.
Then when I drag the count formula in, it changes to this.
I appreciate any further suggestions you have.
Regards,
Randy
- v-huizhn-msft9 years agoMicrosoft Employee
Hi @Randyr,
Do you mind share your .pbix file forfurther analysis?
Angelia - Randyr9 years agoFrequent Visitor
Thank you Angelia, I beleive I have it now.
The problem was that I had to create a new column on my date table for "Weeks", then join the "Live Agent Created Date" field to that new column on the Date tab. Once I did that, it is now showing up correctly.
Thanks again for the help!
Randy