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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
New to Power BI here so this could be a silly question.
I need to count the amount unquie text fields within another field and I'm not sure where to start?
Example where C3 is retuning what I would like and C1 & C2 are the data fields I'm working with.
Any help would be greatly appreicated.
C1 C2 C3
SH1 A 3
SH1 B 3
SH1 C 3
SH2 A 1
SH2 A 1
SH3 C 2
SH3 A 2
SH4 B 2
SH4 C 2
Solved! Go to Solution.
Hi @m1ke909
Create a new calculate column, where Table0 is the table you show:
C3 =
COUNTROWS (
CALCULATETABLE (
SUMMARIZE ( Table0; Table0[C1]; Table0[C2] );
ALLEXCEPT ( Table0; Table0[C1] )
)
)
Hi @m1ke909
Create a new calculate column, where Table0 is the table you show:
C3 =
COUNTROWS (
CALCULATETABLE (
SUMMARIZE ( Table0; Table0[C1]; Table0[C2] );
ALLEXCEPT ( Table0; Table0[C1] )
)
)
Thank you! All working now!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!