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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
naal1995
New Member

Filter to exclude values in which the excludes rows for which the amout of times the text mentioned

 

 

I tried to recreate the problem in excel for simplfaction and to protect data.

 

I need to create a filter in which in this example Supplier C gets excluded from the graph because the number of SKU they delivered is under 2.

 

The number of SKU should be calicated from my base table which has every item delivered and per item it says which supplier it comes from. I then need a way to summairze that data so that if lets say in this 7 items supplier B has delivered 7 4 items it creates a colum with the number 4 and then I can use that colum in a summery table that I've created which only has the suppliers and the rank of the performance based on percentage.

 

Anyone know how to do this is power BI ?

 

problem.PNG

1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @naal1995,

 

You could calculate the Amout of SKU with the formula below.

 

Measure =
CALCULATE (
    COUNT ( 'Base Table'[Supplier] ),
    FILTER (
        ALL ( 'Base Table' ),
        'Base Table'[Supplier] = MAX ( 'Base Table'[Supplier] )
    )
)

 

Capture.PNG

 

I 'm a little confused about your Percent, but you could calculate the Rank column with Rankx function in Power BI.

 

Then you could create the Clusetered column chart with the Supplier as Axis and Rank column as value.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors