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
I do have two tables Products and ProductGroup that are related to each other via the field GroupID.
Now I want to create a Card that shows the number of ProductGroups that have no Products inside.
But as the ProductGroup table knows all contracts but not the No. of products assigned - and the products table knows all products and their assigned product groups but not those groups that have no assignment, I am a little bit lost here 🙂
Products |
ProductID |
GroupID |
ProductGroup |
GroupID |
Name |
I guess this one is super easy, but still I dont know how to achieve it.
Any advice?
Solved! Go to Solution.
countx(except(distinct(Productgroup[groupid]), distinct(Products[groupid]) ) , [groupid])
thank you so much @amitchandak !
That worked - definitely would not have come to that solution by experimenting on my own.
Much appreciated
countx(except(distinct(Productgroup[groupid]), distinct(Products[groupid]) ) , [groupid])
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 |
---|---|
116 | |
81 | |
81 | |
48 | |
41 |
User | Count |
---|---|
149 | |
110 | |
66 | |
64 | |
56 |