cancel
Showing results for
Did you mean:

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Anonymous
Not applicable

## Matrix visual with pane calculation

Hello experts,

I need to create a matrix visual where I have 2 panes and along with number, I need to add a % column that will show % adding up to 100% for each pane.
I tried % of column total but it is showing % for whole column , adding 100% at bottom where as I need adding 100% for each pane.
Any idea how to do this?

1 ACCEPTED SOLUTION
Super User

@Anonymous

Use the following measure and modify as per your model:

``````Sales % =

DIVIDE(
SUM(financials[ Sales]),
CALCULATE(
SUM(financials[ Sales]),
ALLSELECTED(financials[Segment])
)
)``````

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂

Did I answer your question? Mark my post as a solution! and hit thumbs up
6 REPLIES 6
Super User

@Anonymous

Use the following measure and modify as per your model:

``````Sales % =

DIVIDE(
SUM(financials[ Sales]),
CALCULATE(
SUM(financials[ Sales]),
ALLSELECTED(financials[Segment])
)
)``````

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂

Did I answer your question? Mark my post as a solution! and hit thumbs up
Anonymous
Not applicable

Awesome . It worked, thanks a lot

Super User

@Anonymous

What do mean by pane here, can you share a screenshot please?

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂

Did I answer your question? Mark my post as a solution! and hit thumbs up
Anonymous
Not applicable

By pane I meant, I have 2 categories with 10 subcategories and they both are going to Rows . Now for category 1 with all 10 subcategories values my % total should add up to 100% , also for category 2  it should add up to 100%.
Each pane is 1 category with 10 subcategories

Frequent Visitor

Did you try to use percent of column total?

Anonymous
Not applicable

As I said, it did not work as it takes the whole column as 100%, not each pane.