cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Thigs
Helper III
Helper III

Change a calculated table based on a selected value?

Hi all, 

Looking at an interesting puzzle. Basically, we want to create a tiny store model in PBI with several variables that can be changed. The one I am looking at right now is number of aisles. Basically, I want to create a tiny summarize table that would change based on an input/what if slider. 

 

Here's what the formula looks like (it isn't working) - 

Random Aisle Assignment = summarize(Pareto,Pareto[ITEM_ID],Pareto[Category], "Aisles", RANDBETWEEN(1,SELECTEDVALUE(Aisles[Aisles])))

Aisles is a what-if parameter with any number between 1 - 25. Item ID is the SKU ID, Category is what type of product (food, etc) that I want to ensure is equally distributed around the store. 
 
Is something like this possible, where the table itsself changes based on an input value that the user - not the designer - could control? I'd like it to be so people can change it without editing any code and just being able to use a slicer to change. 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

That is impossible.

Calculated columns and calculated tables are evaluated once when the data is loaded and are static until the data is refreshed.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

That is impossible.

Calculated columns and calculated tables are evaluated once when the data is loaded and are static until the data is refreshed.

Exactly what I needed to know, thanks!

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors