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
Hi,
I am a newbie in Power BI. How would i create a measure to do count on group by?
The equivalent SQL would be:
select department, count(department) from customers where location = 'US' group by deparment
department count(department)
sales 25
HR 28
finance 30
:
:
Thanks.
Solved! Go to Solution.
I figured it out without creating the measure formula. In Pie chart I could get both the data points and it automatically shows the total by grouping. Thanks!
I figured it out without creating the measure formula. In Pie chart I could get both the data points and it automatically shows the total by grouping. Thanks!
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!