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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Dynamic column calculation with passing parameter

 I am attempting to do complete a dynamic calculation as a user selects/slices a week number in the year. The Calculation is a percent change between weeks. So if the user selects Week 4 and Week 6 of a particular Floor Area and Widget, they will be able to see the percent change between non consecutive weeks. Below is an example of a similar dataset

 

Sample Data1.jpg

 

1 REPLY 1
Anonymous
Not applicable

HI @Anonymous,

 

Current power bi not support to create a dynamic calculated column/table based on slicer.(slicer works on data view level, calculated column/table are store on date mode level, they can't interact)

You can create a dynamic measure based on slicer or use query parameter to affect the calculate column/table.

 

Reference link:

Dynamic Measures based on filter selection

Deep Dive into Query Parameters and Power BI Templates

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.