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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
hanami001
Frequent Visitor

Calculate selected value in slicer

Dear All,

 

I have created the measure for calculating value. I want when I selected value (multiple selections) the measure should be calculated only field selected. please advise me.

 

For example, I select PG Class Y, M,...,Q, I want measure AV-Fare Forecast INL to calculate only selected Y, M,...,Q.

 

Capture005.PNG

1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @hanami001,

 

As I know, if you create the measure that could achieve your requirement but you' better not use ALL function the to filter the whole table, otherwise the selected value in the slicer will not affect the measure.

 

If it is convenient, could you share some data sample or your desired output so that we can help further on it?

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors