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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Syndicate_Admin
Administrator
Administrator

Variation on the total biased in a matrix

Good people, I recently started playing with Power Bi with a random dataset, but something that occurred to me and I wanted to do would not be coming out, I tell you:

This is my matrix along with some filters I created:

CLQ_0-1658862257071.png

CLQ_1-1658862306908.png

For now, what I did was that depending on which filter chooses the matrix will show me different data, for example: currently the units sold are shown (whole column), the variation with respect to the previous month ( monthly variation column) and finally, the % that represents the data on the monthly total (% per total column ). (if I chose GR it would return the values corresponding to it).. and my problem comes with respect to the latter. What I did was simply copy the calculation of the entire column, put it in "values" of the matrix and have it displayed to me as "Total column percentage".
So far so good, give what I want, but now I want to remove that last column and make all the data appear in the two (integers and variations); then what I am looking for is that, creating another filter to select, I appear in, for example the column integers, the monthly product / total data, that is, that in for example the FIla of Snacks the result of 1501/29801 appears

Playing in separate tables I did not achieve anything, the most I did without being thrown error was that I give the sum of the general total value:

CLQ_2-1658862827446.png


Any help is welcome and thank you very much.



1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

Well, I was lucky and managed to get it out, I was using the CALCULATE function very badly. In the end it was necessary to do:

calculate(midato, ALLSELECTED('table'[column]))

View solution in original post

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

Well, I was lucky and managed to get it out, I was using the CALCULATE function very badly. In the end it was necessary to do:

calculate(midato, ALLSELECTED('table'[column]))

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors