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
vengadesh_p
Helper I
Helper I

Create Calculated Column based on Parameter Selection

Hi All,

 

This Is My datamodel , I have connection Age Category to Dim Calendar table by using Age Field 

vengadesh_p_1-1663557476762.png

 

This Age field want to calculate based on Refernce Year parameter 


Example : i selected 2020 so Age field want to change based on 2020 & based on Age field i want to show data from Age Category Table

vengadesh_p_0-1663557449599.png

 

Note: Currently i have achived this logic by static Value (_Selected Year = 2020) this selected year value want to change dynamically by reference year selection 


I have attached Sample Pbix File 

 

Thanks,

Vengadesh

2 REPLIES 2
amitchandak
Super User
Super User

@vengadesh_p . Here age need to be a measure.

 

age m= Sumx(Table, [selected year Measure] -year(Table[Date]) )

 

In case you need that on the axis

 

Dynamic segmentation -Measure to Dimension conversion: https://youtu.be/gzY40NWJpWQ

Hi @amitchandak Thanks for your input

Can you please help me to create "Measure to Dimension conversion" based on my requirment 

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.