Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have data that looks something like this, with other columns of data, too.
| UserID | SessionID | BC |
| 5 | 1 | 0 |
| 5 | 2 | 0 |
| 5 | 3 | 0 |
| 6 | 4 | 1 |
| 6 | 5 | 0 |
| 7 | 6 | 0 |
| 7 | 7 | 0 |
| 7 | 8 | 1 |
| 8 | 9 | 0 |
| 8 | 10 | 0 |
| 9 | 11 | 0 |
| 10 | 12 | 1 |
| 10 | 13 | 1 |
| 11 | 14 | 0 |
| 11 | 15 | 1 |
Some of the data have blanks and/or incorrect data, as there are new categories being added and bugs fixed at each of our releases.
My goal is to get a count of the unique UserIDs that never have a BC count of 1, and then build a histogram to count the number of sessions each user has done.
I've used this to separate users into buckets:
@jmab it's going to be simpler if you use one of the histograms from appsource - there are both free and paid ones.
https://appsource.microsoft.com/en-us/marketplace/apps?search=histogram&ocid=1158848_20231030_histog...
@jmab seems like you are over killing everything but the reason could be because this produce a unique row
and the unique count of users for the above combination which will be different if you are doing summaries only on usertype
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.