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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
siva3012
Helper II
Helper II

Transform 15 Mins interval data into days ?

Hi Folks,

 

I need to convert 15 mins interval into 1 day in a month .

For example i have data as shown in the dig,

I need to add all Kwh column from 1/1/2016 till 31/1/2016 ( which includes the 15 time interval), similarly for next month as shown in the dig.

 

I have attached the required screen shot.

 

15.jpg

 

1 ACCEPTED SOLUTION

Should you opt for a Power Query solution, then transform your date column to the date of the end of the month (menu options: transform tab - Date - Month - End Of Month).

 

Group By these dates and choose operation "Sum" for your Kwh column.

Specializing in Power Query Formula Language (M)

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

I do not see how the 15 min interval has anything to do with this. Seems like you should just be able to create a table visualization that includes [Date] and the SUM of KwH. If you need a table, use SUMMARIZE.


@ 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...

Should you opt for a Power Query solution, then transform your date column to the date of the end of the month (menu options: transform tab - Date - Month - End Of Month).

 

Group By these dates and choose operation "Sum" for your Kwh column.

Specializing in Power Query Formula Language (M)
Zubair_Muhammad
Community Champion
Community Champion

Hi @siva3012

 

You can add a calculated Column to get Month End for each Date.

 

Then you can use Month End Date to do the Pivot Table

 

Month_End =
EOMONTH ( TableName[Date], 0 )

1056.png


Regards
Zubair

Please try my custom visuals

Helpful resources

Announcements
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.