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
Hi,
I am very new to PowerBI and I'm trying to get the following done:
I have a 7 binary column (1,NULL) for a certain group of people. and then I have a measure that adds up all of the people. What I want to do, is create a measure that gives me % of the total for those users who are "1" in the binary columns.
So for example, let's say the total of people I have is 6 and in one of the binary columns, only 4 of those are "1". I want to create a measure that calculates the 4/6. It's kind of a sumifs and then division, but I am not familiar with DAX. Any help will be highly appreciated!
Solved! Go to Solution.
Hi @rilimonv
You may create a measure like below:
Measure = COUNTROWS(FILTER(Table1,Table1[binary]=1))/COUNTROWS(Table1)
Regards,
Hi @rilimonv
You may create a measure like below:
Measure = COUNTROWS(FILTER(Table1,Table1[binary]=1))/COUNTROWS(Table1)
Regards,
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 |
|---|---|
| 103 | |
| 80 | |
| 63 | |
| 50 | |
| 45 |