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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
MSquiers
New Member

Table that sums based off Year data and is filterable by client

I am currently working on reviewing some financial data for my company and I have not been able to figure out how to configure a specific table to calculate sums of data from another table based on year the work occurred and filterable by client. 

The base data is a few hundred lines with data from 2010 to 2018 and is in the following excel format:

YearJob NumberJob NameClientRevenueProfitTotal RequestsTotal Approved Requests
201010-01-04Client 1 SW 2010Client 1$155,00015,00054
201414-04-05Client 3 SW 2014Client 3$20,0002,50071
201818-03-05Client 2 SW 2012Client 2$35,000$5,00033

 

I am working on creating a table that generates sums for revenue, profit, total request, total approved:

YearRevenueProfitTotal RequestsTotal Approved Requests 
2010Sum of Revenue column with 2010 YearSum of Profit column with 2010 YearSum of Total Requests column with 2010 YearSum of Total Approved column with 2010 Year 
2011     
2012     

 

If I could then add a filter that would calculate the table for each year based off a specific client would be wonderful. I can figure out the table in Excel using sumif commands, but I need to make it robust enough that we can update the data each year when we close out the year. Any help on getting just the year and Revenue column data to work with the client filter would probably help me finish out the remainder of the table.

 

I have been trying to configure this for the past two days.  Good with Excel and Visual Basic, but DAX has been a bit difficult to wrap my head around.

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

Hello @MSquiers 

Not sure I am understanding but I put together a .pbix file with sample data and some measures.  Is this along the lines of what you were trying to do?

Clients.jpg

View solution in original post

2 REPLIES 2
jdbuchanan71
Super User
Super User

Hello @MSquiers 

Not sure I am understanding but I put together a .pbix file with sample data and some measures.  Is this along the lines of what you were trying to do?

Clients.jpg

That is exactly what I was looking for. Thank you so much. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.