cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Want to show MAX of count

Capture.PNGHow can i achive it in power bi .

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Want to show MAX of count

Hi @vijaykumarj ,

Try this:

Measure 1 = COUNT('Table'[Name])
Measure 2 = MAXX(ALLSELECTED('Table'[Name]),[Measure 1])
Measure 3 = IF([Measure 1]=[Measure 2],1,0)

pbi.PNG

 

Best Regards,
Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
Highlighted
Super User I
Super User I

Re: Want to show MAX of count

Are 0, 1, 2 what you expect? Based on your data, 2 is the max of each name. Please clarify. 






Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
www.linkedin.com/in/danebelarminocpa
Highlighted
Community Support
Community Support

Re: Want to show MAX of count

Hi @vijaykumarj ,

Try this:

Measure 1 = COUNT('Table'[Name])
Measure 2 = MAXX(ALLSELECTED('Table'[Name]),[Measure 1])
Measure 3 = IF([Measure 1]=[Measure 2],1,0)

pbi.PNG

 

Best Regards,
Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

Helpful resources

Announcements
May 2020 Community Highlights

May 2020 Community Highlights

It’s time for another PBI Community recap!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Top Solution Authors