Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
0xygen27
Advocate II
Advocate II

New table with sum of other colums out of other table

Dear Community,

 

I have two tables in my document. 1 table is the cost of projects, the other is budget for those projects. I want to make two other tables with the sums of different colums that for a project.

 

For example 

I got these colums:

Expense A : 5

Expense B : 10

Expense C:  7

Now Expense A and C form Project A. So I want a table with all the sums of the projects. 

 

----------------------------------------------------------------------------------------------------------

Later on I want to make a graph with Project A cost 12 in which I can go to a lower level and then the graph shows me:

Expense A 5 

Expense C 7 

Is this possible?

 Sum project.png

 

3 REPLIES 3
v-caliao-msft
Employee
Employee

@0xygen27,

 

Yes. You could do this. To create such a table, you need to have a Project column in your original table to identify which Project is current expense belong to.

Cretae a new table use the DAX expression below
Table = FILTER(Table1,Table1[Project]="A")
Capture.PNGCapture1.PNG

 

Regards,

Charlie Liao

@v-caliao-msft I got like 200 expense columns. I don't got one column with the name expenses. 

 

So: 

 

Dates | Expense A | Expense B | Expense C

@0xygen27,

 

If that is the case, I am afraid you need to reshare you source table.

 

Regards,

Charlie Liao

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.