Forum Discussion
DAX
- Anonymous4 years ago
Hi Anonymous ,
You could use this formula:
Measure = CALCULATE ( COUNT ( Resource[Resources] ), FILTER ( Resource, Resource[Assets] IN VALUES ( Company[Assets] ) ) )Best Regards,
Jay
Hi,
When you say "Table 2- Resource and it is already joined using a primary key" what exactly do you mean? You mean it has a relationship with Table 1? Or with some other table?
Regards
Yes correct, It already has a relationship mapped by Project ID to Table 1.
All I am looking for is a DAX that can help me aggregate the columns present in Table 2 for Company Column Table 1
- Ashish_Mathur4 years ago
Super User
Hi,
Share the download link of your PBI file with the relationship already created. Share dummy data if you wish to.
- Anonymous4 years agoNot applicable
Definitely not feasible for me to share pbix file. However I have already shared the data format above with dummy data. Essentially I just want the count of resources for each company.
- Ashish_Mathur4 years ago
Super User
Hi,
In neither table have you shown/shared the column which you have used for creating a relationship so i cannot help.