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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.