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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak Thanks for your input

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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