cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
polonez1
Frequent Visitor

Remove columns show only totals

Hello,

I need to leave only total and remove where the yellow is marked.
Any ideas? 

it's example:

polonez1_0-1669208609335.png

 

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @polonez1 

 

You can try the following methods.
Sample data:

vzhangti_0-1670390817530.png

Measure:

Sum1 = SUM('Table'[Value1])
Sum2 = SUM('Table'[Value2])

This is the view at the beginning

vzhangti_1-1670390868929.png

Measure = IF(HASONEVALUE('Table'[Region]),[Sum1],[Sum1]&" "&[Sum2])

vzhangti_2-1670390934141.png

Then modify Total's name.

vzhangti_3-1670391021093.pngvzhangti_4-1670391030545.png

Is this the result you expect?

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.

View solution in original post

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @polonez1 

 

You can try the following methods.
Sample data:

vzhangti_0-1670390817530.png

Measure:

Sum1 = SUM('Table'[Value1])
Sum2 = SUM('Table'[Value2])

This is the view at the beginning

vzhangti_1-1670390868929.png

Measure = IF(HASONEVALUE('Table'[Region]),[Sum1],[Sum1]&" "&[Sum2])

vzhangti_2-1670390934141.png

Then modify Total's name.

vzhangti_3-1670391021093.pngvzhangti_4-1670391030545.png

Is this the result you expect?

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.

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.