Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi 🙂,
I'm trying to create a calculated table from another table (the original actually has more columns) like this example:
to reach this final state in my new table:
is the sum of the value but for distinct client, so far i just have been able to create the first column using:
table = DISTINCT(OriginalTable[Client])
create a measure will not do the work because i will be adding new columns to this modified table to be able to create a specific chart
Hope can anyone help, thank you in advance for your time!!
Solved! Go to Solution.
Hi @Anonymous
you can use SUMMARIZE() https://docs.microsoft.com/en-us/dax/summarize-function-dax
and create new calculated table like
New Table = SUMMARIZE(OriginalTable, OriginalTable[Client], "Value", SUM(OriginalTable[Value]))
if you need more column to group use like
New Table = SUMMARIZE(OriginalTable, OriginalTable[Client], OriginalTable[OtherColumn], "Value", SUM(OriginalTable[Value]))
@Anonymous
CALCULATE(SUM([Value]))
or more complex
CALCULATE(SUM([Value]), ALLEXCEPT(Table, Table[Value]))
Hi @Anonymous
you can use SUMMARIZE() https://docs.microsoft.com/en-us/dax/summarize-function-dax
and create new calculated table like
New Table = SUMMARIZE(OriginalTable, OriginalTable[Client], "Value", SUM(OriginalTable[Value]))
if you need more column to group use like
New Table = SUMMARIZE(OriginalTable, OriginalTable[Client], OriginalTable[OtherColumn], "Value", SUM(OriginalTable[Value]))
Thank you for your reply, that solution worked but now, how can i create a new calculated column in my original table that show up like this, I am bit new using DAX:
using SumValue = SUM([Value]) only displays 420 all over the column like the last column in the image
Thank you for your time @az38 and @Anonymous
@Anonymous
CALCULATE(SUM([Value]))
or more complex
CALCULATE(SUM([Value]), ALLEXCEPT(Table, Table[Value]))
@Anonymous
SUMMARIZECOLUMNS() is better but SUMMARIZE() is much more easier to understand and debug for newbies
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |