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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors