Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
My goal is provide the distinct count of users who performed a specifc action (1 action = 1 record under TransactionType) more than a threshold.
I have a table called ItemLedger. There are several columns but the ones of importance are:
BranchID, UserID, TransactionType, LedgerDate
| BranchID | UserID | TransactionType | LedgerDate |
| CL20 | RBYRD | ORD.PICK | 2/24/2021 |
| CL20 | RBYRD | ITEM.MOVE | 2/24/2021 |
| CL20 | RBYRD | ITEM.MOVE | 2/24/2021 |
| CL20 | DSMITH | ORD.PICK | 2/24/2021 |
| CL20 | DSMITH | ORD.PICK | 2/24/2021 |
| CL20 | DSMITH | ORD.SHIP | 2/24/2021 |
| CL21 | DSMITH | ORD.SHIP | 2/24/2021 |
| CL20 | DSMITH | ORD.PICK | 2/24/2021 |
| CL20 | DSMITH | ORD.PICK | 2/24/2021 |
| CL20 | DSMITH | ORD.PICK | 2/24/2021 |
| CL20 | RBYRD | ORD.PICK | 2/24/2021 |
| CL20 | RBYRD | ORD.PICK | 2/24/2021 |
| CL20 | RBYRD | ORD.PICK | 2/24/2021 |
| CL20 | RBYRD | ORD.PICK | 2/24/2021 |
| CL20 | RBYRD | ORD.PICK | 2/24/2021 |
| CL20 | DSMITH | ORD.PICK | 2/23/2021 |
| CL20 | DSMITH | ORD.PICK | 2/23/2021 |
| CL20 | DSMITH | ORD.PICK | 2/23/2021 |
| CL20 | DSMITH | ORD.PICK | 2/23/2021 |
| CL20 | DSMITH | ORD.PICK | 2/23/2021 |
| CL20 | DSMITH | ITEM.MOVE | 2/23/2021 |
| CL20 | DSMITH | ORD.PICK | 2/23/2021 |
| CL20 | DSMITH | ORD.PICK | 2/23/2021 |
| CL20 | DSMITH | ORD.PICK | 2/23/2021 |
| CL20 | DSMITH | ITEM.MOVE | 2/23/2021 |
| CL20 | DSMITH | ORD.PICK | 2/23/2021 |
| CL20 | DSMITH | ORD.PICK | 2/23/2021 |
| CL20 | DSMITH | ORD.PICK | 2/23/2021 |
| CL20 | RBYRD | ITEM.MOVE | 2/23/2021 |
| CL20 | RBYRD | ORD.PICK | 2/23/2021 |
My goal is provide the distinct count of users who performed a specifc action more than a threshold.
Using a specific example based on the above sample, I would like to determine how many users picked more than 4 times for each day.
Intermediate Table Example:
| LedgerDate | UserID | Count of ORD.PICK | Threshold |
| 2/24/2021 | RBYRD | 6 | 4 |
| 2/24/2021 | DSMITH | 5 | 4 |
| 2/23/2021 | RBYRD | 1 | 4 |
| 2/23/2021 | DSMITH | 11 | 4 |
Expected Output:
| LedgerDate | Distinct Count of Users above threshold for ORD.PICK |
| 2/24/2021 | 2 |
| 2/23/2021 | 1 |
Notes:
Solved! Go to Solution.
Solution:
Solution:
@EnrichedUser , Create a measures like
Sumx(Summarize(ItemLedger,ItemLedger[UserID],'Date'[Date],
"_1",CALCULATE(DISTINCTCOUNT(ItemLedger[UserID]), filter(ItemLedger,ItemLedger[TransactionType] = "ORD.PICK"))), [_1])
infact remove filter and use slicer to control type
Thank you so much for getting back to me so quickly! Unfortutaly, this solution did not include the the threshold pieces what I needed the help with. However, it did point me to focus more on trying to solve with sumx.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 104 | |
| 81 | |
| 66 | |
| 50 | |
| 45 |