The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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] )
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
79 | |
74 | |
50 | |
40 |
User | Count |
---|---|
135 | |
120 | |
75 | |
65 | |
64 |