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.
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.
Circle | Cluster | Band | 17_KPIs |
BR | BR-ARRH-0001 | 700 | 12 |
BR | BR-ARRH-0001 | 3500 | 15 |
BR | BR-ARRH-0002 | 700 | 15 |
BR | BR-ARRH-0002 | 3500 | 15 |
BR | BR-BGLP-0004 | 700 | 15 |
BR | BR-BGLP-0004 | 3500 | 14 |
BR | BR-ARRE-0001 | 700 | 15 |
BR | BR-ARRE-0001 | 3500 | 15 |
BR | BR-ARRH-0010 | 700 | 15 |
BR | BR-BGLP-0013 | 3500 | 10 |
BR | BR-BGLP-0014 | 700 | 15 |
BR | BR-BGLP-0004 | 3500 | 16 |
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)
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.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.