March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello,
I have a column [Name] full of names (text).
I'm my visualization I am applying the 'Count Distinct' summarization. I would like to create a measure that will simply SUM the total of distinct names, but I can't figure it out at all.
Any help would be greatly appreciated.
Solved! Go to Solution.
Try the following formula:
User Distinct =
VAR t =
SUMMARIZE (
'Table',
Table[Date],
"UserDistinct", DISTINCTCOUNT ( Table[Name] )
)
RETURN
SUMX ( t, [UserDistinct] )
Hi, I'd like help in a similar DAX formula.
To one extent I'm calculating: the distinctive count where the sale is greater than 0 of a string field.
I would like to get the total or sum of that count, since the result is not adding the values of each row to me.
I look forward to your help, thank you very much
Try the following formula:
User Distinct =
VAR t =
SUMMARIZE (
'Table',
Table[Date],
"UserDistinct", DISTINCTCOUNT ( Table[Name] )
)
RETURN
SUMX ( t, [UserDistinct] )
Thank you
That's great! your formula has worked for me. I had the same problem.
That seems to have done it! Thank you so much.
Hi. What do you mean with SUM the total of distinct names?
You you just want the number of the "Count Distinct" summarization you can write a dax measure like
Measure = DISTINCTCOUNT ( Table[Column] )
Hope that helps,
Happy to help!
Thanks for your response. I'll try to clarify.
If I look at a date, say 1/21/2021, using Count Distinct I am returned 90 unique names. If I go a day earlier, I see 85 unique names.
If I select two days, I still only see 90 unique names, where I would like to see the SUM of both of those days'-worth unique names.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |