cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
krishanw
Helper I
Helper I

How to group duplicate dates?

krishanw_0-1686030095625.png

I need to get day wise count, but as per the above image dates are dublicating 

 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @krishanw,

You can add a calculated column with datevalue function of extract the date part from your datetime field values. Then you can use it as category of matrix to group records.

DATEVALUE function (DAX) - DAX | Microsoft Learn
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

4 REPLIES 4
v-shex-msft
Community Support
Community Support

Hi @krishanw,

You can add a calculated column with datevalue function of extract the date part from your datetime field values. Then you can use it as category of matrix to group records.

DATEVALUE function (DAX) - DAX | Microsoft Learn
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
ryan_mayu
Super User
Super User

could you pls provide some sample data?





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

Proud to be a Super User!




krishanw_0-1686031834398.png

Here is the table data. what are the data you need?

you can try to remove the time in the date and try again

you can do this in pq

or use DAX  = int(column)





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

Proud to be a Super User!




Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors