cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
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
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.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors