cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Syndicate_Admin
Administrator
Administrator

Number of Original and duplicates within a slicer date range

Hi Everyone, I wanted to display the number of occurrences within a slicer date range. For example, if I set the slicer says "01-01-2022" to "07-01-2022", the visual should mention "Original Values: 3", "Duplicate Values: 4". Thanks for the help.

 

ashu710_1-1642505604531.png

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Syndicate_Admin
Administrator
Administrator

Hi @ashu710 ,

 

Use measures like this:

_originalValues = DISTINCTCOUNT(yourTable[valuesColumn])

_duplicateValues = COUNTROWS(yourTable) - [_originalValues]

 

Pete

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

Hi @ashu710 ,

 

Use measures like this:

_originalValues = DISTINCTCOUNT(yourTable[valuesColumn])

_duplicateValues = COUNTROWS(yourTable) - [_originalValues]

 

Pete

Hi @BA_Pete  thanks for your help. What if I want to use the slicer for Original Or Duplicate values? This is because there's some data associated with them as well. Thank you.

 

Ashu

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

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.

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.

Top Solution Authors
Top Kudoed Authors
Users online (1,330)