Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
prashantg364
Helper II
Helper II

DAX Measure

I am having data as per the below table.

 

I want to calculate distinct cluster counts against each KPI in each band.

like

Measure 1- Distinct cluster count against each KPI in 700 band

Measure 2 - Distinct cluster count against each KPI in 3500 band

Measure 3 - Distinct cluster count against each KPI in both 3500 & 700 band as one 

 

Pls help me with measure.

 

CircleClusterBand17_KPIs
BRBR-ARRH-000170012
BRBR-ARRH-0001350015
BRBR-ARRH-000270015
BRBR-ARRH-0002350015
BRBR-BGLP-000470015
BRBR-BGLP-0004350014
BRBR-ARRE-000170015
BRBR-ARRE-0001350015
BRBR-ARRH-001070015
BRBR-BGLP-0013350010
BRBR-BGLP-001470015
BRBR-BGLP-0004350016
2 REPLIES 2
some_bih
Super User
Super User

Hi @prashantg364  please try  measures below
Did I answer your question? Mark my post as a solution! Kudos Appreciated!

 

DistinctClusterCount 700 =
CALCULATE(
DISTINCTCOUNT(<Your table name>[Cluster]),
<Your table name>[Band] = 700
)

DistinctClusterCount 3500 =
CALCULATE(
DISTINCTCOUNT(<Your table name>[Cluster]),
<Your table name>[Band] = 3500
)
DistinctClusterCount BothBands =
VAR _Clusters_700 = CALCULATETABLE(
VALUES(<Your table name>[Cluster]),
<Your table name>[Band] = 700
)
VAR _Clusters_3500 = CALCULATETABLE(
VALUES(<Your table name>[Cluster]),
<Your table name>[Band] = 3500
)
VAR Clusters_BothBands = UNION(_Clusters_700, _Clusters_3500)
RETURN
COUNTROWS(Clusters_BothBands)





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Not working,

while calculating unique cluster both bands data is resulting, not the unique cluster count passed in both bands.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.