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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

How to hide columns from a matrix, keeping just the Total

Hi! Do you have any tip to solve this issue?

I need to create a table like the one attached (Store vs. #Visits per Month) and add a column with the average of the months.

But when I do this, Power BI applies the Average for each column, each month. And I would like it to include only 01 more column in the report.

IMG_20190926_125525480.jpg

7 REPLIES 7
Nathaniel_C
Community Champion
Community Champion

Hi @Anonymous , would you give us a little more detail?

You drop the column Noma da Loja on the matrix, and then what?

Thank you,

Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Hi @Nathaniel_C

Actually the problem are the columns. When I drop the "Average Visits" measure, it splits the columns of each month (June, July, August) into "Qty Visits" and "Avg Visits".

But I need to have a table where: each month only shows the column "Qty Visits"; Totals shows both "Qty Visits" and "Average Visit".


@Nathaniel_C wrote:

Hi @Anonymous , would you give us a little more detail?

You drop the column Noma da Loja on the matrix, and then what?

Thank you,

Nathaniel


 

@Anonymous ,

So it sounds like the Average Visits measure is the problem. Would you be able to share that with us?

Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

@Nathaniel_C Sure! Please find it through the link https://we.tl/t-g3S53gA2NR

Anonymous
Not applicable

Hi @Nathaniel_C, any tip?


Hi @Anonymous ,

I worked on this, but didn't get anywhere.  Then just now was thinking it might have something to do with the hierachy, tried to go around that but generating a column that gave Month Name, but still didn't get it.  

 

Maybe @jdbuchanan71 has some insight? 

averages1.PNG

 

averages2.PNG

 

 

 

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Even if you force the average measure to return a blank with something like this.

Avg Visits = IF ( ISINSCOPE( 'Table'[Month].[Mês] ), BLANK(), AVERAGE( 'Table'[Qtd Visitas] ) )

It will still show the blank column under every month.

AsymetricMonth.jpg

PowerBI does not seem to like asymetric reporting (visits on the months but visits and average on the total).  The best I have found to do is make the extra columns narrow enough that they don't show up.
AsymetricMonthHidden.jpg

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors