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
lilyyan
Frequent Visitor

slicer result to be used in column

I need to use the slicer result to dynamatically show the estimation of expense, but get stuck on how to use the slicer result. 

 

my design is to add a column in the table (or in other table is okay) with formular: Selected = if ( the cell of Name is selected, 1, 0); then I can do many things based on the new added column.

 

slicer table:

Name

A
B
C
D
E
F
G
H
I
J
K
L
M
N
2 REPLIES 2
TomMartens
Super User
Super User

Hey,

 

unfortunately it's not possible to use selection from slicers to populate columns in tables, this is because calculated columns are evaluated during the refresh of the data model.

 

Slicer are a UI component as any other visual, that interacts with the model (the refreshed model), so for this reason you just can use measures.

 

Maybe you can describe one of the many things you want to do, this makes things a lot easier to provide further assistance.

 

Regards

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Hi, Tom

Thanks for your help.

the whole thing I want to do is to estimate the budget of different people with one dynamic element "location" to see the influence of location changes and determine the best location arrangement accordingly.

 

I have 13 people (Table 2), locating in two locations (column location in Table 2 should be calculated whether selected or not in Table 1). The final result of Column expense will vary depending on the column "location" in Table 2.

the rough column formulas:

Table 2 [location] = if (table 1[Name] is selected, "South", "North")

Expense = Cost in NonAsia * # in NonAisa + Cost in Asia * # in Asia + if (Table 2 [location] = "south", Cost in North * # in North, Cost in South * # in South)

 

 

Table 1 Table 2  
Name Name# in Asia# in NonAsia# in South# in NorthLocation 

Table 3

Location

Round Trip FlightsHotelMealNightsCost
A A1 812North NonAsia20002007553375
B B 122South Other4001505051400
C C1 53North North4001505051400
D D  12South South4001505051400
E E  2 North Asia5802007551955
F F3  3North       
G G 1 3North       
H H   3North       
I I  31North       
J J1   North       
K K    North       
L L 2  North       
M M   4North       

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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