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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ibrahimsharaf
Microsoft Employee
Microsoft Employee

How to count number of distinct users on a chart?

Hello, if my Table looks like this:

Client IDs     Country

ADS1            USA

ADS2            USA

ADS1            USA

 

If I want to create a stacked column chart, Country on the X Axis, Number of Visitors (Distinct Clients IDs) on the Y Axis, so it should show that USA has 2 visitors only not 3, as "ADS1" is repeated twice, how can I solve this problem?

 

 

 

1 ACCEPTED SOLUTION
SergeiStPete
Helper I
Helper I

use the measure Clients=DISTINCTCOUNT(Table[ClientI Ds] to show on graph

View solution in original post

1 REPLY 1
SergeiStPete
Helper I
Helper I

use the measure Clients=DISTINCTCOUNT(Table[ClientI Ds] to show on graph

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors