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
whygeent
Frequent Visitor

Remove data

hi, im having a trouble regarding this visual. is this possible to remove the columns in red circle highlights and keep only the total (last column) in the visual? i don't need the values of plate number per column and i just need the total but it was distributed per column. thank you!

 

whygeent_0-1701916604760.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @whygeent ,

 

I created some data:

vyangliumsft_0-1702608615413.png

 

 

Here are the steps you can follow:

1. Create calculated table.

You can try using a new table instead so that you don't have duplicate MEASURES, because the columns of the matrix are sorted alphabetically by default, and if you want to be sorted to the back, you can prefix it with a letter that is later in the alphabet

Table 2 =
var _table1=
SUMMARIZE(
    'Table','Table'[Group1],
    "Group2","E_Count Plate Number",
    "Amount",[Count Plate Number])
return
UNION(
    'Table',_table1)

vyangliumsft_1-1702608615414.png

2. Result:

vyangliumsft_2-1702608631667.png

 

Best Regards,

Liu Yang

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi  @whygeent ,

 

I created some data:

vyangliumsft_0-1702608615413.png

 

 

Here are the steps you can follow:

1. Create calculated table.

You can try using a new table instead so that you don't have duplicate MEASURES, because the columns of the matrix are sorted alphabetically by default, and if you want to be sorted to the back, you can prefix it with a letter that is later in the alphabet

Table 2 =
var _table1=
SUMMARIZE(
    'Table','Table'[Group1],
    "Group2","E_Count Plate Number",
    "Amount",[Count Plate Number])
return
UNION(
    'Table',_table1)

vyangliumsft_1-1702608615414.png

2. Result:

vyangliumsft_2-1702608631667.png

 

Best Regards,

Liu Yang

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

danextian
Super User
Super User

Hi @whygeent ,

You can write a measure to show only the totals. Try either.

 

=
IF (
    NOT ( HASONEVALUE ( data[row field] ) )
        && NOT ( HASONEVALUE ( data[column field] ) ),
    [total]
)

 

 

=
IF (
    ( HASONEVALUE ( data[column field] ) )
        || NOT ( HASONEVALUE ( data[row field] ) ),
    [total]
)

What this does is it checks if there is more than one distinct date values  in a given filter context (eg  how many dates are there in a given date which obviously is just one).  If there's only one date then it returns blank otherwise the total. The same goes for the column. Alternatively, you can play around with the values formatting so the font color matches the row background's.

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.