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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Peleias
Helper I
Helper I

Count Results from a Measure to put in Pie and filter by selection (pbix)

Hi Guys.

I'm stuck and can't get free.


Model below with dynamic columns. 
https://drive.google.com/file/d/1bAEMtI30Nq1TT6fVzie9WLCYzwtoGiJV/view?usp=sharing 

 

Varying the month, the activities get planned, started, finished, change.
At first I wanted just like Count Results from a Measure.

I solved it by creating 3 measures, with Measure F = COUNTROWS(FILTER('TP',[#Dynam Status] = "Finished")). And putting the 3 in Pie.

I thought, this solves it...while in Pie Grafic  I noticed a problem.
It has the count, but it has no link with the table.
I would like to click on a status in the Pie Chart and it filters out all the activities for that Status.

 

Peleias_1-1653027206712.png



Thanks!

1 ACCEPTED SOLUTION
Peleias
Helper I
Helper I

2 REPLIES 2
Peleias
Helper I
Helper I

https://community.powerbi.com/t5/Desktop/Count-Results-from-a-Measure/m-p/2535592/highlight/true#M89...
I asked the similar question, but incompletely, the same was answered for me.

lbendlin
Super User
Super User

You can avoid all these issues (and measures) by bringing your source data into a better format.

 

Instead of 

lbendlin_0-1653170807384.png

you will want to use 

lbendlin_1-1653170877880.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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