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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

How to count the output of measure without using calculated column

I am new to power bi. Currently I am trying to count the output of a measure and show it in pie chart.

 

The original measure is kind of like below:

Pass = IF(SELECTEDVALUE(Table1[Quality]) = [Latest Test], "Y", "N")
 
I want to count the output of Result and show it in the pie chart. Below picture is achieved using calculated column. But the problem is that they are not responding to the changing filter (We are using period filter).
 
Is it possible to be done using measure? or can it be done so that it will recalculate and change in pie chart according to the changing filter?
Pie Chart.png
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Dear @lbendlin ,

 

Thank you for the reply.

 

Sorry for the delay in replying your post as I was away from work. I just got the solution from here. Though I have to change a little bit, so far the result are great and I am still validating the results.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Dear @lbendlin ,

 

Thank you for the reply.

 

Sorry for the delay in replying your post as I was away from work. I just got the solution from here. Though I have to change a little bit, so far the result are great and I am still validating the results.

Anonymous
Not applicable

HI @Anonymous,

Thank you for sharing the solution, I think it will be helpful if others have similar requirements.🙂

Regards,

Xiaoxin Sheng

lbendlin
Super User
Super User

Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services. Please show the expected outcome.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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