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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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 Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors