Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Count of countries

Hi guys!

I have a table of around 4000 rows. 

Each row has a country name: 

Power BI.png

 

I would like to display a diagram, showing the counts of each country. 

 

Could you help me, please? 

 

Best wishes,

Alisa

1 ACCEPTED SOLUTION
aj1973
Community Champion
Community Champion

Hi @Anonymous 
Add a measure

Count of countries = COUNT('Table'[Countries])

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

3 REPLIES 3
Fowmy
Super User
Super User

@Anonymous 

Insert a table visual and drag and drop the country field twice then select the 2nd country field and select the aggregation as Count

Example:

Fowmy_0-1627415301072.png

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

@Fowmy thanks. But unfortunately, I don't have options as you have: "don't summarise", "first", "last".... "count"... 

I want to make a diagram, not a table

How can I add them? 

aj1973
Community Champion
Community Champion

Hi @Anonymous 
Add a measure

Count of countries = COUNT('Table'[Countries])

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.