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! Learn more

Reply
lorenzocc
New Member

Slicer-set filter context doesn't propagate to table created with Summarize function

My DAX formula to create the table is:

DisbursementRatioTable =
SUMMARIZE(
factDonorReport,
factDonorReport[fiscal_year],
"Distribution Ratio", sum(factDonorReport[percExpenditure])/sum(factDonorReport[percBudget])
)

 

In the page report, I also have a slicer that shows all the values of another column of the factDonorReport. Whenever I try to modify the filter context by selecting one or more values of the slicer, the graph doesn't update.

 

I was hoping that the filter context set with the slicer on the factDonorReport would propagate to the values in the new table but it doesn't. Does anyone have any idea how this might work?

 

Thank you and regards,

 

lorenzocc

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@lorenzocc , Calculated table can not take slicer filter.

Only tables created as var in Measure can take filter/slicer Value

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

Thank you for the response. Although what you are saying is not entirely clear, it is also true and was helpful in solving it.

 

What I did was to create a single measure that calculated the ratio between the sum(factDonorReport[percExpenditure]) and sum(factDonorReport[percBudget]) in a CALCULATE formula that reset all filters except for those accessible through the slicer(s) with an ALLEXCEPT statement.

 
DisburRatio = CALCULATE(
SUM(factDonorReport[percExpenditure])/SUM(factDonorReport[percBudget]),
ALLEXCEPT(factDonorReport,factDonorReport[fiscal_year], factDonorReport[donor_type_lvl3_descr])
)

 

After which, I did not create a new table based on this calculated measure but instead worked directly on the visualization. I placed factDonorTable[fiscal_year] in the x_axis field and the new measure on the Values field. This seemed to work fine since a filter context (transitioned from a row context) was created by the x_axis and was intersected with the current filter context created by the slicers.

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@lorenzocc , Calculated table can not take slicer filter.

Only tables created as var in Measure can take filter/slicer Value

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you for the response. Although what you are saying is not entirely clear, it is also true and was helpful in solving it.

 

What I did was to create a single measure that calculated the ratio between the sum(factDonorReport[percExpenditure]) and sum(factDonorReport[percBudget]) in a CALCULATE formula that reset all filters except for those accessible through the slicer(s) with an ALLEXCEPT statement.

 
DisburRatio = CALCULATE(
SUM(factDonorReport[percExpenditure])/SUM(factDonorReport[percBudget]),
ALLEXCEPT(factDonorReport,factDonorReport[fiscal_year], factDonorReport[donor_type_lvl3_descr])
)

 

After which, I did not create a new table based on this calculated measure but instead worked directly on the visualization. I placed factDonorTable[fiscal_year] in the x_axis field and the new measure on the Values field. This seemed to work fine since a filter context (transitioned from a row context) was created by the x_axis and was intersected with the current filter context created by the slicers.

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