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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Mahbf
Regular Visitor

Reference a page level filter in a measure

Is there any way to reference a page level filter inside of a measure. The page level filter is set to fiscal year 2019 and I want to write a measure for sales in the fiscal year that is filtered (2019 for now) less sales in the fiscal year that is filtered minus 1 (to get 2018). Then I could change filter to 2018 to see 2018 vs 2017 and so on for any fiscal year.

2 REPLIES 2
Anonymous
Not applicable

You can use ALLSELECTED instead off ALL on Filtre to have report or page filter applying to measure.

v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Mahbf,



Based on my test, I'm afraid that we are not able to reference the page level selected value in a DAX expression currently.

 

You could submit your new idea in Power BI ideas Forum and add your comments there to improve Power BI and make this feature coming sooner.

 

We could reference the selected value in a slicer, you may could try with slicer as a workaround.

 

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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