Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi!
Is it possible to create a matrix visualization in Power Bi such as this?
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.
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...
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
85 | |
83 | |
66 | |
60 | |
57 |
User | Count |
---|---|
188 | |
111 | |
105 | |
78 | |
71 |