Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
aeimal
New Member

Pie Chart

Hi,

 

I am very new in Power BI. In my dataset, I created a measure which calculates "Average Minutes" (Average Minutes = SUM(data[minutesPlayed])/DISTINCTCOUNT(data[PlayerId])/DISTINCTCOUNT(Sheet1[calendar_week])), between a range of 0-60 min. Now, I would like to create a pie chart that shows the percent distribution of the certain minute ranges. Like 25% percent played between 0-30 min, 30% played between 30-50 min, and 45% played more than 60 min. 

 

I tried "calculate(DISTINCTCOUNT(Average Minutes), filter)" but Power BI doesn't let me distinct count measures, just columns. Now, I am totally stuck, need help!

 

Thanks,

 

 

Esat

1 REPLY 1
Phil_Seamark
Microsoft Employee
Microsoft Employee

Can you please post a sample set of data as well as how you expect the final result to look and we can help you fill the gaps.

 

Even use Excel to generate sample data/results and paste it in here


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors