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
Thank you very much Brett, that new measure is now grouping the dates the way I want. I am still doing something wrong though, if I add a visual table to look at the data, I group by the new measure I created. "WeekStarting". Then I created another measure to count the number of cases like so.
WeekGroup = CALCULATE(COUNT('Live Chat Transcript'[CaseId]),ALLEXCEPT(DateKey,DateKey[WeekStarting].[Date]))
Here is what I see....I think I have the count messed up somehow, it is not summarizing the number of cases by the new measure you gave me, it is totaling them.
Here is the way it looked before.
Thanks again! I appreciate any help you can provide here.
Can you check the direction of the date relationship? I have mine set to "Both".
- Randyr9 years agoFrequent Visitor
Thank you, yes it is set to 'both' now but no change i'm afraid.
- bjnodello9 years agoHelper II
Can you explain what you are trying to do with the ALLEXCEPT filter?
- Randyr9 years agoFrequent Visitor
Sorry, again I'm new. I was using that filter to group the rows by week. Something I picked up here : http://community.powerbi.com/t5/Desktop/Group-By-Using-Weeks/m-p/30754/highlight/true#M10514