Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.