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

Want to show MAX of count

Capture.PNGHow can i achive it in power bi .

1 ACCEPTED SOLUTION

Accepted Solutions
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
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
Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Top Solution Authors
Top Kudoed Authors