cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Girish_123
Frequent Visitor

how to calculate, how many matches played by country on there home ground,

like we have a two table
Table 1

Team 1               Team2                Ground

Ind                      Aus                Guwahati
U.A.E                 Ireland            ICCA Dubai
Bangladesh        India                 Pune
Pakistan           Bangladesh       Dhaka
South Africa      India               Pune


Table2

Home  Ground         Country

Guwahati                India
ICCA Dubai            U.A.E
Pune                      India
Dhaka                 Bangladesh

I need answer like
Country      Count(Played Matched on home ground)
India                      3
U.A.E                     1
Bangladesh          1
pakistan               0
South africa         0

 

1 ACCEPTED SOLUTION
CNENFRNL
Community Champion
Community Champion

PQ solution,

Screenshot 2021-12-01 221958.png

 

DAX solution,

Screenshot 2021-12-01 222228.png

View solution in original post

1 REPLY 1
CNENFRNL
Community Champion
Community Champion

PQ solution,

Screenshot 2021-12-01 221958.png

 

DAX solution,

Screenshot 2021-12-01 222228.png

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors