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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
NILU090
Helper II
Helper II

same filter multiple times

Hi Team,

I have created follwoing measure.

Calculate(Sum([Data]Actual),filter(Data,Data[City] = "Pune" && Data[Sales]>0 && Data[Year]=2022)))

The filter part i need to use around 10-12 times with diffrent calcualtions.

do we have a way that we can fix the filter part in measure and use that measure in next creating measures.

like.

Msr_Filter = Filter(Data,Data[City] = "Pune" && Data[Sales]>0 && Data[Year]=2022)))
Ex: Msr_Predict = CALCULATE(SUM([Data]Predict),Msr_Filter)

Please help me on this.

0 REPLIES 0

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.