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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
iDataDrew
Advocate IV
Advocate IV

Filtering on Summarized Table

I have a summarized table showing new customers from the most recent week.  I also have a page-level filter of states (e.g. NY, NJ, OH) that is from the original table.  When no filters are in place, then the new customers table matches the new customers trend line.  However, if I filter by state, for example, then they don't match.  I noticed that when I filter by NJ there are somehow rows containing PA in my new customers table.  It's because this new customer has accounts in both NJ and PA, but why wouldn't the State filter clear out the PA accounts?  I'm assuming it has to do with evaluation context, but I can't figure out the exact issue.  Here's my formula for the summarized new customers table:

 

new_customers_tbl.PNG

4 REPLIES 4
Anonymous
Not applicable

Hi @iDataDrew,

 

You can use a variable to store the summary table, then use filter function to filter records.

 

For example:

 

New Table=
Var temp= Summarize(AWL,[account_weekly_log_date],[start_date],[end_date],[name],[cust_id],[accept_date],[Utility],[account_status_id],[iso],[State],[Commodity],"RCE",SUM(AWL[RCE]))
return
Filter(temp,AND([account_status_id]=1,[end_date]>[start_date])&&AND([accept_date]>=max([account_weekly_log_date])-7,[accept_date]<max([account_weekly_log_date])))

 

If above not help, please provide a sample file to test.

 

Regards,

Xiaoxin Sheng

@Anonymous isn't that essentially the same thing that I have, only using a variable?  

Anonymous
Not applicable

Hi @iDataDrew,

 

>>isn't that essentially the same thing that I have, only using a variable?

 

Since the summary table is a new table which unnamed in the formula, I'd like to suggest you direct use column name to call new table column.(original table's column may doesn't work on new table)

 

large.png

 

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi @iDataDrew

 

Try creating a slicer from the statecolumn of the summarized table. Remove the page level filter.

 

Cheers

 

CheenuSing

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors