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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
erihsehc
Helper III
Helper III

allselected function not working

rank testing4.JPGrank testing8.JPGrank testing6.JPGrank testing7.JPG

 

hi, for the above tables, using the allselected function to get the sum of sales amount from sheet1. I would expect that when I select different division on the slicer from sheet1, the selected sales amount would change. However, it does not work. Would expert help on doing this task? thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,

You are creating a calculated column and these are not re-calculated when you interact with slicers in your report.

 

To be able to do this kind of dynamic calculation you need to create a measure instead of the calculated column.

 

If all you are trying to do is to calculate the sum of sales for your table you don't need a complicated measure. Just add the customer from your Fact table to rows of your table and then add Sales to your values and it will give you the sum of sales with respect to filters and slicers coming from the same table.

 

Br,

Magnus 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi,

You are creating a calculated column and these are not re-calculated when you interact with slicers in your report.

 

To be able to do this kind of dynamic calculation you need to create a measure instead of the calculated column.

 

If all you are trying to do is to calculate the sum of sales for your table you don't need a complicated measure. Just add the customer from your Fact table to rows of your table and then add Sales to your values and it will give you the sum of sales with respect to filters and slicers coming from the same table.

 

Br,

Magnus 

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Kudoed Authors