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
Hi guys!
I have simple question creating a measure which SUM number based on unique values from column. Unfortanately i didn't find any references, maybe my search query isn't correct.
I have following table and i want to SUM inaccessibility based on unique key_problem.
Based on table below i expect to get SUM = 234 + 45 + 209 + 159 = 647.
key_problem | ID_service | inaccessibility | Service group |
C-777 | IT-641 | 234 | |
C-848 | IT-641 | 45 | |
C-1218 | IT-1015721 | 209 | |
C-1218 | IT-1015720 | ||
C-1501 | IT-1015721 | 159 | |
C-1501 | IT-1015720 |
Thanks in advance!
Solved! Go to Solution.
hi @IT_inter try it
Measure = SUMX( SUMMARIZE('table3',table3[key_problem],table3[Service group],table3[inaccessibility]),[inaccessibility] )
Hello,
please try this measure
= SUMX(VALUES(Key_ProblemID),max(inaccessibility))
this measure should work correctly if the values are the same for each duplicated problem ID
If my reply solved your problem, please mark it as the solution 🙂
hi @IT_inter try it
Measure = SUMX( SUMMARIZE('table3',table3[key_problem],table3[Service group],table3[inaccessibility]),[inaccessibility] )
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 |