The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
108 | |
78 | |
77 | |
46 | |
39 |
User | Count |
---|---|
137 | |
108 | |
64 | |
64 | |
53 |