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
Kubakkk
Regular Visitor

Total value

Hi all,

I have a problem with values in matrix. Is it possible for the "udziały" columns to show only in Total and not next to each month?

Kubakkk_0-1625815899627.png

Kind regards

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Kubakkk ,

You can create a measure as below to replace the field udziały on the matrix, please find the details in the attachment.

New_Udzialy = 
VAR _udzialy =
    CALCULATE ( SUM ( 'Table'[Udzialy] ) )
RETURN
    IF (
        HASONEVALUE ( 'Table'[Data wystawienia].[Year] )
            && HASONEVALUE ( 'Table'[Data wystawienia].[Month] ),
        BLANK (),
        _udzialy
    )

yingyinr_0-1626057999330.png

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Kubakkk ,

You can create a measure as below to replace the field udziały on the matrix, please find the details in the attachment.

New_Udzialy = 
VAR _udzialy =
    CALCULATE ( SUM ( 'Table'[Udzialy] ) )
RETURN
    IF (
        HASONEVALUE ( 'Table'[Data wystawienia].[Year] )
            && HASONEVALUE ( 'Table'[Data wystawienia].[Month] ),
        BLANK (),
        _udzialy
    )

yingyinr_0-1626057999330.png

Best Regards

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.