Showing results for 
Search instead for 
Did you mean: 
New Member

How to substract values by hour and date

Hi guys, i´m new to Power Bi. I have this problem, i need to substract 9/20/2021 8: 30 AM Kwh del value less 9/20/2021 6AM Kwh del value. I tried creating a new table by hour (8:30 am and 6 AM) and then subtractring both tables but it didn´t work. Any idea of how to accomplish this ??




Super User
Super User

@dcifuentesv , please, illustrate the result you want to achieve.

Regular Visitor

Date and time can be easily manage by Power Query. try it .


if you still have a problem share your excel and PBI file

I know I could use substract option in Power Query but since I have to substract two values from the same column and the same date it's not easily solved by Power Query.  My excel an PBI is in the following link link

Helpful resources

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!