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
azakir
Resolver I
Resolver I

Count the results from a measure

Hi Guys. 

I am using a few measures to show a change in grade over a period of time. For example, if an employee changes grade between March and April, the measure shows grade changed to Promotional or Non-Promotional or Salary Increase etc The measure is working fine: 

azakir_1-1665651087811.png

What I was after is a way I could COUNT the results from Measure. Basically, between March and April, how many employees changed to "Promotional" or "Grade Change" or any other result from the measure. Either this, or a way I could use this as a legend. 

2 REPLIES 2
amitchandak
Super User
Super User

@azakir , The approach can be very similar to this blog

https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/b...

 

How do we compare data this month vs last month, here you compare values in place blank and non blank

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

 

Hi @amitchandak . Thanks for always helping out. This problem is just on top of the one you helped me out earlier:

 https://community.powerbi.com/t5/Desktop/DISTINCTCOUNT-of-employees-based-on-arguments/m-p/2830559#M...

The measures work fine, but somehow not being able to plot onto a graph. 

I am ideally after something like this: 

 

Data:

azakir_0-1665818672134.png

Ideal Output:

azakir_1-1665818701194.png

Sample file here: https://easyupload.io/uic53s

 

 

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.