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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
DrH
Frequent Visitor

Aggregating count of counts filter by date

Need help aggregating and filtering the underlying data by date.

 

Peter, James and John perform actions (they read books and/or papers) on dates January 1 to January 9.

 

DateActionPerson
jan 1BookPeter
jan 2PaperJames
jan 2BookJohn
jan 4BookPeter
jan 4BookPeter
jan 5PaperJames
jan 6BookJames
jan 7PaperJohn
jan 8BookPeter
jan 9PaperPeter

 

I want to aggregate this data by Action to show how many times a certain action was performed by somebody during a given date interval. And I must be able to filter dates. If we take the data over all dates we get:

 12>=3
Book2 1
Paper21 

 

This shows that in the full time interval 2 persons read a book ONE time (James and John), and 1 person read a book AT LEAST THREE times (Peter, he did it 4 times).

Also, 2 persons read a paper ONE time and 1 person read a paper TWICE.

 

If we take January 2-6 we get this:

 12>=3
Book21 
Paper 1 

 

Here we see that again 2 persons read ONE book and 1 person read TWO.

And 1 person read the paper TWICE.

 

So, I need to aggregate like this, filter by date and show number of events like 1, 2, and >=3.

 

Ideas?

 

2 REPLIES 2
amitchandak
Super User
Super User

@DrH , I think you need Dynamic Segmentation Bucketing Binning on count measure, refer example


https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1...


Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Thanks for the attempt, but nope, that is not what I am looking for.

Helpful resources

Announcements
ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.