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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
ShonK20
New Member

Dynamically Changing Column Value Based on Parameter

Hi,

 

I want to create a column SelectedYear. However, I want its value to be dependent on the Paramater the user may choose. Suppose the user chooses 2024, then it should hold 2024 values, if user selects 2023, then it should hold 2023 values.

 

Similarly I can create another column for AnotherYear based on another Parameter. In this way  the user chooses which 2 years are to be compared.

 

Any help on how to achieve this would be appreciated. I only know how to do this in Tableau.

1 REPLY 1
amitchandak
Super User
Super User

@ShonK20 , This is behavior of a measure(Implicit or explicit) in a visual

 

So if you have a table with year and value, put the year on the slicer, and the sum of value on visual, it should work

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.