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

View all the Fabric Data Days sessions on demand. View schedule

Reply
johndolan2
Resolver I
Resolver I

Sum 2 Distinct Count Measures

Hi - I am trying to sum 2 distinct count measures. Any help would be greatly appreciated.

 

The 1st measure is a distinct count of "service IDs". 

The 2nd measure is a distinct count of "street addresses".

I am recieving an invalid parameter error on the below:

TotaDistinctServiceIDandStreetAddress =  CALCULATE(SUM([distinct count ServiceIDs], [DistinctCountStAddrss]))

 

Thanks,

 

John

2 REPLIES 2
Anonymous
Not applicable

You can simply use this Measure
Measure =
VAR service_IDs =
DISTINCTCOUNT ( financials[Country] )
VAR street_addresses =
DISTINCTCOUNT ( financials[Product] )
RETURN
service_IDs + street_addresses

wdx223_Daniel
Super User
Super User

[distinct count ServiceIDs]+[distinct count ServiceIDs]

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.