cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
AaronGlenn10
Helper III
Helper III

Bypass Page Filter

There are some other forum posts related to this subject, however still can't achieve the desired result.

 

I have a page that is filtered by addresses, and I'm trying to compare the year-over-year [2019 - 2020] sales % delta for those addreses to the entire state's year-over-year [2019 - 2020] sales % delta.

 

I"ve tried this however I'm missing somthing: 

Total TX TTM % = CALCULATE(AVERAGEX(TABC,[Same Store TTM Delta %]), (All (TABC[location_state])))
 
Thank you! ~AGS
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@AaronGlenn10 , try measures like, with a separate a table

 

This Year = CALCULATE(sum('order'[Qty]),filter(ALL('Date'),'Date'[Year]=max('Date'[Year])))
Last Year = CALCULATE(sum('order'[Qty]),filter(ALL('Date'),'Date'[Year]=max('Date'[Year])-1))

diff = [This Year]-[Last Year ]
diff % = divide([This Year]-[Last Year ],[Last Year ])

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@AaronGlenn10 , try measures like, with a separate a table

 

This Year = CALCULATE(sum('order'[Qty]),filter(ALL('Date'),'Date'[Year]=max('Date'[Year])))
Last Year = CALCULATE(sum('order'[Qty]),filter(ALL('Date'),'Date'[Year]=max('Date'[Year])-1))

diff = [This Year]-[Last Year ]
diff % = divide([This Year]-[Last Year ],[Last Year ])

Thank you for the reply!  I have the measures in place to calculate the YoY % Delta - just trying to bypass the page filter [160 addresses] so I can display the YoY % Delta for the entire state.

Hi, @AaronGlenn10 

Glad to hear that you have solved your problem by yourself, would you like to share some experience or just mark your own reply as a solution so that others can learn from it too?

Thanks in advance!

How to Get Your Question Answered Quickly 

 

Best Regards,

Community Support Team _Robert Qin

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors