Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello together,
I have a table like this
Planner | Supplier |
1 | Siemens |
1 | Müller |
1 | Siemens |
2 | Müller |
3 | Siemens |
3 | Müller |
3 | Müller |
3 | Müller |
4 | Siemens |
4 | Koch |
I have different Planners and they have used different suppliers. I want to count the unique Suppliers depending on the Planner. My Target is to get the following Output:
Planner | Different Supplier used |
1 | 2 |
2 | 1 |
3 | 2 |
4 | 2 |
So I need to count unique suppliers by Planner.
Thanks for your help.
Hi @Anonymous,
You can do it without any code.
1. Add a table visual.
2. Add both columns to its "Values" field.
3. Choose "Don't summarize" for Planner.
4. Choose "Count (Distinct)" for Supplier.
The output should be like this:
Best Regards,
Alexander
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
84 | |
69 | |
68 | |
39 | |
37 |