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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Table based on What if parameter selected value

Hello Friends. 

I currently am trying to learn something on PBI and i have been trying and failing for many days. 

So my goal is to create a table in Power BI that is essentially like this - 

Test =
summarize(
filter('Table', 'Table'[IF_FINAL]="YES"),
'Table'[Customer], "SALES",CALCULATE(sum('Table'[Value])))


The column being referenced named [IF_FINAL] is read like this. 
IF_FINAL = if('Table'[Period]>'Table'[SLICER_FINAL],"YES","NO")

Slicer final is as follows - 
SLICER_FINAL = SUMMARIZE('SLICER',"VARIABLE",calculate(value(selectedvalue(SLICER[SLICER]))))
This returns nulls.
I want to be able to move the what if parameter and the new table change based on that new selected value.
Is there anyway in Power bi to make a table using DAX respect a value of a parameter? I have tried allselected() as well as selectedvalue()


I dont see anywhere to attach the PBI file I am working on, does anyone know how i can link it so you guys can see what I mean?
1 REPLY 1
johnt75
Super User
Super User

Calculated tables and columns are only calculated during data refresh, so there is no way for them to respond to filters or slicers.

Depending on what you want to do with the table, you might be able to achieve your goal using a table variable calculated within a measure. 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors
Top Kudoed Authors