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

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

Reply
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
Fowmy
Super User
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])
    )
)

 

Fowmy_0-1607440687583.png

________________________

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 🙂


Website YouTube  LinkedIn

 

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


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

6 REPLIES 6
Fowmy
Super User
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])
    )
)

 

Fowmy_0-1607440687583.png

________________________

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 🙂


Website YouTube  LinkedIn

 

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


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

Awesome . It worked, thanks a lot

Fowmy
Super User
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 🙂


Website YouTube  LinkedIn 

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


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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

mparhi
Frequent Visitor

Did you try to use percent of column total?

 

mparhi_0-1607400086672.png

 

Anonymous
Not applicable

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

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.