cancel
Showing results for 
Search instead for 
Did you mean: 
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
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors