Forum Discussion
Count related items
I don't exactly get what you need. Your data table seems to suggest 1 Case only has 1 subject?
Or does a case have multiple subjects because thats what the result you need seems to suggest?
- DominicBrien9 years agoFrequent Visitor
Hello, a case always has a single subject.
What I am looking for is how many subject have 1, 2, 3 etc cases as per last table.
I can do it with a Group by but I have a problem when I try to apply filters using the date field...
- cs_skit9 years agoResolver IV
To solve it I had to create a new table with this DAX:
then you can do this:
Didn't get it to work quickly without the extra table I don't use SUMMARIZE often.
Maybe you can figure out if you can do it without the extra table but this works.
- DominicBrien9 years agoFrequent Visitor
Hello, were you able to to this in direct query mode? My understanding was that table creation was not enabled in direct query mode...
What you did does a simmilar result to what I get with group by but I would also have an issue when attempting to filter on the date of cases.
Regards,