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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
capko
Helper II
Helper II

Filtering pareto

Hello,

 

I've a list of sales with a line each time an article is sold, the date and the sell amount. I've created a measure in order to do a Pareto analysis:

 

Pareto = 
VAR CostVar = [Total_Cost]
VAR All_CA = CALCULATE([Total_Cost],ALLSELECTED(Sales))

RETURN
DIVIDE(
SUMX(
    FILTER(
            SUMMARIZE(ALLSELECTED(Sales),Sales[Article],
                "CA", [Total_Cost]),
                    [CA] >= CostVar),
                        [CA]),
    Total_CA,0)

The result I obtain at the end is something like this:

 

capko_0-1680038446502.png

The only problem I have now it's that I cannot apply a filter on the CA[%].

 

Is there any way to apply a filter on this column up  to a certain value ?

 

3 REPLIES 3
amitchandak
Super User
Super User

@capko , Try like

 

Power BI Window: Pareto Analysis Again, 80% of sales, Order by Measure when REL position is used: https://youtu.be/GpoITi_tRIw

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks for you support !

 

I'm trying to replicate the video but I'm facing several problems. The most important one: 'WINDOW' is not recognised as a function, as well as 'ORDERBY' (it recognize 'ORDER BY') 😕

 

Am I doing something wrong ?

Well, I've checked and the 'WINDOW' function seems to be a new one included in another version of Power BI than the one I'm allow to use at work... There is any other way of doing exactly the same using the version of Power BI 2.107 ?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.