Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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
You can simply use this Measure
Measure =
VAR service_IDs =
DISTINCTCOUNT ( financials[Country] )
VAR street_addresses =
DISTINCTCOUNT ( financials[Product] )
RETURN
service_IDs + street_addresses
[distinct count ServiceIDs]+[distinct count ServiceIDs]
User | Count |
---|---|
57 | |
21 | |
21 | |
19 | |
16 |
User | Count |
---|---|
86 | |
84 | |
52 | |
37 | |
23 |