Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all,
I have a problem with calculating the sum of unique values. I mean calculating the sum of the unique number of days in the question. Ultimately, the value 3+7= 10 should be output for each GUID within the same question
I use this DAX function:
| GUID | Numer of days | Term | Respond | Question | Goal value |
| 324342 | 3 | power bi | Kowalski | Sunrname? | 10 |
| 324342 | 3 | power bi | Nowak | Sunrname? | 10 |
| 235236 | 7 | c# | boniek | Sunrname? | 10 |
| 235236 | 7 | c# | Kowal | Sunrname? | 10 |
| 235236 | 7 | c# | Zelnik | Sunrname? | 10 |
Solved! Go to Solution.
Maybe:
Measure =
CACLULATE(
SUMX(
DISTINCT('Table'[Numer of days])),
[Numer of days]
),
ALLEXCEPT('Table','Table'[Question])
)
Maybe:
Measure =
CACLULATE(
SUMX(
DISTINCT('Table'[Numer of days])),
[Numer of days]
),
ALLEXCEPT('Table','Table'[Question])
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.