Join 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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
So I've got the below table imported.
| Name | Region | Project Name | Total MRR | Total Hours |
| Andy | US | 100 | 5 | |
| Trevor | UK | 200 | 10 | |
| Andy | US | 300 | 15 | |
| Trevor | UK | 400 | 20 | |
| Sandy | US | 500 | 25 |
I then want to be able to create a calculated table that will come out as below
| Region | Name | Total MRR | Total Hours |
| US | Andy | 400 | 20 |
| UK | Trevor | 600 | 30 |
| US | Sandy | 500 | 25 |
So I basically just want ot pivot up the totals of each person.
I'm new to Power BI so don't know where to start
Thanks,
Solved! Go to Solution.
If you did specifically want a calculated table you could do this:
SummaryTable =
SUMMARIZECOLUMNS(
MainTable[Region],
MainTable[Name],
"Total Hours", CALCULATE ( SUM ( MainTable[Total Hours] ) ),
"Total MRR", CALCULATE ( SUM ( MainTable[Total MRR] ) )
)
Hi,
It looks like you want a visual and not a calculated table. If that is the case, do this. To your Table/matrix visual, drag Region and Name. Write these measures:
MRR total = sum(Data[Total MRR])
Hours = sum(Data[Total hours])
Hope this helps.
Thanks Asish, but I then want to be able to put this into a line chart to show progression over time, which wouldnt work with this would it?
Hi,
For that you must have a Date column in your dataset as well.
If you did specifically want a calculated table you could do this:
SummaryTable =
SUMMARIZECOLUMNS(
MainTable[Region],
MainTable[Name],
"Total Hours", CALCULATE ( SUM ( MainTable[Total Hours] ) ),
"Total MRR", CALCULATE ( SUM ( MainTable[Total MRR] ) )
)
Now i've got another table that's got Q1, Q2, Q3, Q4 row data in how would I bring that into this? Call it table2 and its as below
| Name | Quarter | MRR Quota | Hours Quota |
| Andy | Q1 | 1000 | 50 |
| Andy | Q2 | 2000 | 50 |
| Andy | Q3 | 3000 | 50 |
| Andy | Q4 | 4000 | 50 |
This is perfect, thank you
Hi,
Do you specifically need a calculated table or just want a visual to display a table like that?
If the later just drop the columns into a table visual like this:
Power Bi by will guess what agregation you want for a numeric column but you can check it by clicking the down arrow on a field after you drop it into a viusal:
Can send the DAX over if you specifically want a calculated table.
Hi,
I forgot to include the date columns that i'll also have (Q1, Q2, Q3, Q4) which I then want to be able to show in a line chart. Which I don't think I can do via this method?
Can you mock up a demo pbix file and send it. Think even bringing dates in you can keep it simple maybe with the addition of a date table. Might be missing something though.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 47 | |
| 32 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 88 | |
| 76 | |
| 40 | |
| 26 | |
| 26 |