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
rokesh18
New Member

Creating a Dynamic Column based on 'What if' Parameters

Hi,

 

I created a Custom Column with the following formula.

 

Type = IF(Column A >= Parameter1,
                 IF(Column B >=Parameter2,"Star","Question"),
                 IF(Column B >=Parameter2,"Cow","Pet")
                )
The formula worked initially and the Type column was populated with values based on the condition.
But, when I changed the Parameter values, the "Type" Column contents were not getting refreshed.
 
Is this a limitation in Power BI, or am I doing something wrong? I'd appreciate it if somebody could help with a turnaround. 
1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

There is no such thing as a dynamic column.  Calculated columns cannot be created through measures. They are only calculated once, during dataset refresh*.

 

* one small exception is when you have a composite data model with dataset as  a source and a local copy of the model but even then it is limited to in-row calculations.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

There is no such thing as a dynamic column.  Calculated columns cannot be created through measures. They are only calculated once, during dataset refresh*.

 

* one small exception is when you have a composite data model with dataset as  a source and a local copy of the model but even then it is limited to in-row calculations.

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.

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.