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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

August Carousel

Fabric Community Update - August 2024

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