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
LyonsBI_BRL
Helper III
Helper III

Count # of Twitter Followers, given there are duplicate rows

I'm attempting to calculate the number of Twitter followers per RegistrantID. Each Registrant ID has multiple Rows.

Problem is when I attempt to look at the number of Twitter Followers for each RegistrantID, I'm getting way more than the number of actual Twitter Followers. 

LyonsBI_BRL_1-1623282343136.png

I did try a Measure of

 CALCULATE(MaX('All Applicants'[value.FollowersonTwitter])

LyonsBI_BRL_2-1623282952781.png

Though that didn't seem to help any.

Any suggestions here?

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@LyonsBI_BRL , Try a new measure like

MaXX(values('All Applicants'[value.RegistrantID]), calculate(max( 'All Applicants'[value.FollowersonTwitter])))

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@LyonsBI_BRL , Try a new measure like

MaXX(values('All Applicants'[value.RegistrantID]), calculate(max( 'All Applicants'[value.FollowersonTwitter])))

@amitchandak that worked great!

 

Now if I wanted to count words instead of numbers how would I do that instead? I have another column that is called value.State. Which I need to count the number of distinct entries per state. Again I have multiple rows for the same Registrant ID showing up.

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.