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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Zanderol24
New Member

Same Value Multiple Columns

Hi, 

 

Im trying to construct a visual with the below scenario, 

 

I have a Dynamics Opportunity that features 3 columns with a relatioship to the Dynamics Competitor table, these are lookup columns. 

 

The lookup coulumn names on the opportunity could be 

 

Product1

Product2

Product3 

Product4, 

 

My goal within the visual is to count the values for each column per categort (product)

 

No matter how I do this the values are always the same across all bi visuals, im not sure how to get the data to calculate how many times an opportinity has had the lookup column on based on the competitor, all values aRE always identical, do i need to use a dax query or am i overlooking something simple

 

Zanderol24_0-1694795273289.pngZanderol24_1-1694795296905.png

 

2 REPLIES 2
chonchar
Helper V
Helper V

Try creating a measure and putting it into the values. Make one for each product:

Product one count =
DISTINCTCOUNT(
(Table name)[Product1]

^^ do the same for products 2-4 (four unique measures) then add them to the values pane. 

 

Good luck and hope this helps,

 

Cam

thanks will try, out of curiosity how does this differ from using the count distinct right click option on the field value?  Thanks again 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors