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

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

Reply
Anonymous
Not applicable

Show only if a string appear more than a certain amount of time

Hello, how can I show the container no. on the table only when it appears 10 times or more? If less than 10, I do not want it to show on my table, thank you!

 

FriedWater_0-1660578099914.png

 

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous 

 

Please new a measure.

Filter = 
CALCULATE (
    COUNT ( 'Table'[Container No] ),
    ALLEXCEPT ( 'Table', 'Table'[Container No] )
)

And apply it to the filter.

vcgaomsft_0-1661927755344.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Greg_Deckler
Super User
Super User

@Anonymous The general technique is a Complex Selector. The Complex Selector - Microsoft Power BI Community



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Please Try This :
First you need this measure:

count_of_containers = CALCULATE(COUNT( 'Table'[Container No] ))

Then you can get your desired output by creating this column :
Column = IF([Count_of_containers]>10,'Table'[Container No])

Anonymous
Not applicable

Sorry, I think I did not phrase my question correctly. What I meant was only for the container number to appear on my table visual when the exact same container number appears more than 10 times. 

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.