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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.