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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Change Matrix table visual column dynamically

I have sum of sales for three years 2019,2020,2021 when i enter 2022 i need to display 2020,2021,2022 but here getting sum of sales by using measure how can i change measure name dynamically when i enter into 2022 year.

ex now i have like this

Sreenivasula_0-1630216731444.png

I want like this

Sreenivasula_1-1630216759965.png

 

 

 

 

 

 

 

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

 

I don't think it's possible. You requirement sound like Power BI automatically add and remove measure into the visual.

 

Best Regards,

Jay

VahidDM
Super User
Super User

Hi @Anonymous 

 

Set a TOP N  filter on Year column to show the top 3 years.

 

VahidDM_0-1630230688589.png

 

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

Appreciate your Kudos VahidDM_1-1630230717915.png !!

Anonymous
Not applicable

Actually am taking years as measure,because i need to fetch one year data from another table also,so now how can i change the measure value

 

Hi @Anonymous 

 

Could you please share your model here? Sample of data or the best way is to share the sample Power Bi file *.PBIX format.

 

Try to add column to the table by using that measure code, then use column or measure in the filter.

 

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

Appreciate your Kudos VahidDM_0-1630299060539.png !!

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.