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

Selective display of data in visualisation

Hello,

 

This is my current display of data:

cel_0-1666938376506.png

 

This is how I would like the visualisation to look like:

cel_1-1666938436534.png

 

I would like to remove the % change for 2021 and Total as it doesn't really make sense as I am not displaying 2020's data.

I have selecting the % Change column for 2021 and right clicking to hide, but the whole of 2021 just disappears.

 

Is there a way in which I can onlydisplay the % Change for 2022?

1 ACCEPTED SOLUTION
mangaus1111
Solution Sage
Solution Sage

Hi @Anonymous ,

you need to use these 3 measures and you have to use a calendar table related to the Sales table:

 

Rev 2022 = CALCULATE(SUM(Table[Rev]),Calendar[Year] = 2022)

Rev 2021 = CALCULATE(SUM(Table[Rev]),Calendar[Year] = 2021)

%Change = DIVIDE([Rev 2022] - [Rev 2021], [Rev 2021])

 

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

1 REPLY 1
mangaus1111
Solution Sage
Solution Sage

Hi @Anonymous ,

you need to use these 3 measures and you have to use a calendar table related to the Sales table:

 

Rev 2022 = CALCULATE(SUM(Table[Rev]),Calendar[Year] = 2022)

Rev 2021 = CALCULATE(SUM(Table[Rev]),Calendar[Year] = 2021)

%Change = DIVIDE([Rev 2022] - [Rev 2021], [Rev 2021])

 

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

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.