Forum Discussion
Calculate Occurrence
- 5 years ago
Hi Anonymous ,
According to your requirements, the table relationships in the data model are many-to-many relationships. I did the following test as a reference:M = CALCULATE ( COUNTROWS ( Table1 ), FILTER ( ALL ( Table1 ), Table1[Area] = MAX ( Table1[Area] ) ) )
If the established model is not correct, please provide detailed test data and information so that I can do accurate tests. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
According to your requirements, the table relationships in the data model are many-to-many relationships. I did the following test as a reference:
M =
CALCULATE (
COUNTROWS ( Table1 ),
FILTER ( ALL ( Table1 ), Table1[Area] = MAX ( Table1[Area] ) )
)
If the established model is not correct, please provide detailed test data and information so that I can do accurate tests. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.