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
Gnaglor
Regular Visitor

How do I create a new table that sums multiple columns based on the date in another column?

Hello everyone reading this question. I apologize if this has been answered in some other post, but I wasn't able to find exactly how to do what I'm looking for.

 

Here is a sample of my data.

 

power bi sample.jpg

 

My goal is to make a visual that shows the sum of the [BytesReceived] and [BytesSent] by date and to also not have it separated by [Location]. I assume the best way to do this is to create a new table that sums each column by date and leaves out the [Location], like this.

 

power bi sample 2.jpg

 

I'm not sure how to get from the sample data to the new table using a formula or if that is even the best way to go about doing this. These examples were made in Excel for illustrative purposes, but I would need to be able to do this in Power BI. Any suggestions on how I can/should do this?

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

Just create a Table visualization with only those 3 columns in it and not location. 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
v-ljerr-msft
Employee
Employee

Hi @Gnaglor,

 

Have you tried the solution provided by @Greg_Deckler above? Does it work in your scenario? If it works, could you accept it as solution to close this thread?

 

If you still have any question on this issue, feel free to post here. Smiley Happy

 

Regards

Greg_Deckler
Super User
Super User

Just create a Table visualization with only those 3 columns in it and not location. 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Thank you! This worked perfectly.

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.