This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
Hello and TIA!
I track users that have received a badge by completing learning. Each store is required to have atleast 2 or more people that have received a specific badge. (there are two different badges, but I need to track the Champions badge).
How could I create a new table/column to basically say "Yes" this store has 2+ people that have received this badge?
https://www.dropbox.com/s/j2s9ww5my4ry3pc/Badges_TEST.pbix?dl=0
Solved! Go to Solution.
Here is a calculated column:
TwoPlus =
var c = CALCULATE(COUNTROWS('Badge Report_test data'),ALLEXCEPT('Badge Report_test data','Badge Report_test data'[Store ID]),'Badge Report_test data'[Badge Name]="PH Express Champion")
return if(c>1,"yes","no")
your sample data only had one store ID so you may want to validate that.
TwoPlus =
var c = CALCULATE(COUNTROWS('Badge Report_test data'),ALLEXCEPT('Badge Report_test data','Badge Report_test data'[Store ID]),'Badge Report_test data'[Badge Name]="PH Express Champion")
return if(c>1,1,0)
Do a sum, not a count.
@lbendlin Is there a way to get a count of "Yes" from that column that you created? I've tried all Count measures and none of them work.
it's a custom column in DAX, not in Power Query
You Rock!!! Thanks.
Here is a calculated column:
TwoPlus =
var c = CALCULATE(COUNTROWS('Badge Report_test data'),ALLEXCEPT('Badge Report_test data','Badge Report_test data'[Store ID]),'Badge Report_test data'[Badge Name]="PH Express Champion")
return if(c>1,"yes","no")
your sample data only had one store ID so you may want to validate that.
Please provide sample data in usable format (not as a picture) and show the expected outcome.
@lbendlinI've added a sample file in Dropbox. My goal is to be able to see a list of stores that have at least 2 people that have received the Champion badge. This could be in the form of just highlighting these stores.
https://www.dropbox.com/s/j2s9ww5my4ry3pc/Badges_TEST.pbix?dl=0
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 24 | |
| 24 | |
| 21 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 49 | |
| 26 | |
| 25 |