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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Adjust matrix table - hide unnecessary column

Dear All,

 

I have built a matrix table with data for actual and budgeted values per type. I also added a % comparison (how much ACT differs from BGT), but it is (obviously) showed twice - is there any option to hide one of the columns for example the one marked red as at the end, when the data is completed, they will show exactly the same values?

qxphm1_1-1721629919653.png

 

Not sure if it matters, but the layout of my data source looks like this:

qxphm1_2-1721630096565.png

The table is built with UNION as a summary of other table.

 

Any suggestions will be appreciated.

Thank you in advance!

6 REPLIES 6
Anonymous
Not applicable

Hi, @Anonymous 

 

Is it possible to provide some of the example data? Do you expect the data to result in hiding the red column? I can place your desired output by calculation on the far right side of the table. This eliminates the need to add the measure [Diff%].

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Yes, I would like to hide the red column as the same result is actually visible twice in the table.

The idea is to have the comparison of ACT and BGT values for each Service Line and Product Line per cost type.

Reporting MonthCost typeValueCost Center adjProduct LineService LineBGT/ACT
01.07.2024Revenue20000CC 1PL 1FIBGT
01.07.2024Personnel costs-15000CC 1PL 1FIBGT
01.07.2024Other costs-1000CC 1PL 1FIBGT
01.07.2024Travel expenses-200CC 1PL 1FIBGT
01.07.2024Learning & Training-300CC 1PL 1FIBGT
01.07.2024Office costs-2000CC 1PL 1FIBGT
01.07.2024Revenue20600CC 1PL 1FIACT
01.07.2024Personnel costs-15450CC 1PL 1FIACT
01.07.2024Other costs-1030CC 1PL 1FIACT
01.07.2024Travel expenses-206CC 1PL 1FIACT
01.07.2024Learning & Training-309CC 1PL 1FIACT
01.07.2024Office costs-2060CC 1PL 1FIACT

 

I would really appreciate any support as I got stuck and I don't know how to proceed further.

Thank you! 🙂

Anonymous
Not applicable

Hi, @Anonymous 

 

You can try the following methods.

Measure = 
VAR _Bgt=CALCULATE(SUM('Table'[Value]),FILTER(ALLEXCEPT('Table','Table'[Cost type]),[BGT/ACT]="BGT"))
VAR _Act=CALCULATE(SUM('Table'[Value]),FILTER(ALLEXCEPT('Table','Table'[Cost type]),[BGT/ACT]="ACT"))
VAR _Diff=DIVIDE(_Bgt-_Act,_Bgt)
RETURN
IF(HASONEVALUE('Table'[BGT/ACT]),SELECTEDVALUE('Table'[Value]),_Diff)

vzhangtinmsft_0-1721888739467.pngvzhangtinmsft_1-1721888763080.png

Is this the result you expected?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

This is exactly what I need! 🙂 Looks perfect!

I tried to copy your solution to my PBI and unfortunately, I don't see neither all Cost Types nor columns "BGT"/"ACT" in the matrix.

qxphm1_0-1721890799897.png

Do you know what might be causing the issue? I do have some rows empty in my table - I mean that they have no value.

Anonymous
Not applicable

Hi, @Anonymous 

 

Try select the row and right-click,choose Show items with no data.

vzhangtinmsft_0-1721893922942.png

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Thank you for the suggestion, but still no luck 😞

I focused on Revenue and I can see the total amounts as well as the measure calculated correctly, but for some reason the columns ACT and BGT are empty:

qxphm1_0-1721897955813.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.