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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.