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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Berrcikk
Frequent Visitor

Group by Date, without Timestamp

Hi all,

I'm experiencing a problem with grouping data, which contains also timestamp. Currrent situation is presented below, as you can see, data is not summed up for the same day, due to having timestamp. 

SUMDATE
3201.sty
42301.sty
1202.sty


I would like this days to be summed up. I don't want to create separate calculated columns, and don't want to change datatype of this columns, I would like to resolve it with measure. I've tried using Measure with MAX function with .[Date] setting, but I receive error that the column I'm using, doesn't contain date.

Any suggestions, how this issue related to summing up can be resolved?

Best regards

3 REPLIES 3
rajendraongole1
Super User
Super User

Hi @Berrcikk - Create a measure to sum the Sum column based on the extracted date part.

Try below measure :

TotalByDate =
VAR currentDate = MAX('Sales'[Date].[Date])
RETURN
CALCULATE(
SUM('Sales'[Sum]),
FILTER(
'Sales',
'Sales'[Date].[Date] = currentDate
)
)

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Hi @rajendraongole1 thanks for your response, however as I mentioned, I get the error that the column I'm referring to (with .[Date]), doesn't contain any date, alhotugh this column is set up to Date format.

Hi @Berrcikk - sty is any language-specific abbreviation? is that a month?

 

if yes, we have to do in query editor with corresponding months for all 12 months and bring the date format with some other approach.

check it.

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors