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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Smamwise
Frequent Visitor

Pareto 80/20 as summary matrix visualization

Hi!

 

Is it possible to create a matrix visualization in Power Bi such as this?

Picture1.png

 

The rows should be calculated and make use of filters and slicers.

80 Supplier should include top 80 % of suppliers based on purchase amount.

20 Supplier should include bottom 20 % of suppliers based on purchase amount.

 

The columns should be calculated and make use of filters and slicers.

80 Item should include top 80 % of items based on purchase amount.

20 Item should include bottom 20 % of Items based on purchase amount.

 

Values then would include purchase value, % of all purchases, number of distinct items, number of distinct suppliers and number of purchase rows. These are the easy part.

 

The difficulty is getting the row and columns to work. I have a measure that works fine but if I make it as an calculated column, then the filters and slicers stop working. Any advice would be greatly appriceated.

 

The measures, 

 

80/20 Item Cumulative % = 
/*calculates the purchase % of one item from all items*/
VAR thisProduct = PurchaseInvoice[Purchase Amount]
VAR allProducts =
    CALCULATE(PurchaseInvoice[Purchase Amount], ALL('Item'))
RETURN
    CALCULATE(
        PurchaseInvoice[Purchase Amount],
        FILTER(ALL('Item'), PurchaseInvoice[Purchase Amount] >= thisProduct)
    ) / allProducts


80/20 Item = 
/*groups the cumulative % to 80 or 20*/
IF( [80/20 Item Cumulative %] <=0.8,"80","20")

 

 

I am fairly close, but the problem is the columns and rows since they dont work with filters / slicers.

So this is not correct.

Smamwise_1-1711612037664.png

 

 

1 REPLY 1
lbendlin
Super User
Super User

yes, this can be done with "show values on rows".

 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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