Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Solved! Go to Solution.
Hi @ashu710 ,
Use measures like this:
_originalValues = DISTINCTCOUNT(yourTable[valuesColumn])
_duplicateValues = COUNTROWS(yourTable) - [_originalValues]
Pete
Proud to be a Datanaut!
Hi @ashu710 ,
Use measures like this:
_originalValues = DISTINCTCOUNT(yourTable[valuesColumn])
_duplicateValues = COUNTROWS(yourTable) - [_originalValues]
Pete
Proud to be a Datanaut!
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
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.