Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello, I have a table like this:
Table 1
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:
Tabelle2
I need to count unique suppliers by Planner. I am doing this in DAX
Thanks in advance.
Table 1
Planner Supplier
1 Müller
1 Siemens
1 Siemens
2 Müller
3 Siemens
3 Müller
3 Müller
3 Müller
4 Siemens
4 Koch
Table 2
planner Diffrent Supplier used
1 2
2 1
3 2
4 2
Solved! Go to Solution.
Hi @Anonymous ,
Here are the steps you can follow:
1. Create calculated table.
Table 2 =
SUMMARIZE(
'Table',
'Table'[Planner],
"Dirrent Supplier used",
CALCULATE(
DISTINCTCOUNT('Table'[Supplier])))
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous ,
Here are the steps you can follow:
1. Create calculated table.
Table 2 =
SUMMARIZE(
'Table',
'Table'[Planner],
"Dirrent Supplier used",
CALCULATE(
DISTINCTCOUNT('Table'[Supplier])))
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous
Have you tried DISTINCTCOUNT ( 'Table'[Supplier] )?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
12 | |
11 | |
10 | |
9 |