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
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.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors
Top Kudoed Authors