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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Distinc date wise value

Dear Brothers

My problem is that if any employee punch twice or more on a date my data table shows all the punch data but I need only one value of an ID in a date.

I have a table of id, dates & weights. Now I need Unique id wise only one weight of a day.

masumpbi_0-1648442608185.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

You could create a new table by using distinct() function

https://docs.microsoft.com/en-us/dax/distinct-table-function-dax 

Table 2 = DISTINCT('Table')
vjaywmsft_1-1649179642804.png
vjaywmsft_0-1649179631847.png

 

Best Regards,

Jay

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

 

You could create a new table by using distinct() function

https://docs.microsoft.com/en-us/dax/distinct-table-function-dax 

Table 2 = DISTINCT('Table')
vjaywmsft_1-1649179642804.png
vjaywmsft_0-1649179631847.png

 

Best Regards,

Jay

TomMartens
Super User
Super User

Hey @Anonymous ,

 

please keep in mind that there are also sisters.

 

Next, it's not clear if you want to remove rows from the table using Power Query or you need unique values for a certain calculation.

 

Please consider creating a pbix file that contains sample data, but still reflects your data model (tables, relationships, calculated columns, and measures). Upload the pbix to onedrive or dropbox and share the link. If you are using Excel to create the sample data share the xlsx as well.

 

Regards,

Tom 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.