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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Visual and page filters not working

wow, I can't upload my project file here..... huh this is going to make things difficult

 

Two tables with a relationship.  Table A has an amount column and I have a donut chart summing that amount by name.

 

Table B is a related table.

 

Table B has a column that I wish to filter the donut chart on

 

I only get 1 result  This is the generated DAX I caputed from Performance Analyzer

 

 // DAX Query
DEFINE
  VAR __DS0FilterTable = 
    TREATAS({"A"}, 'Table2'[Type])

 

it goes south here as this returns just 1 record so the TOPN is performed on a table of 1
  VAR __DS0Core = 
    SUMMARIZECOLUMNS('Table1'[Name], __DS0FilterTable, "SumAmount", CALCULATE(SUM('Table1'[Amount])))

  VAR __DS0BodyLimited = 
    TOPN(1002, __DS0Core, [SumAmount], 1, 'Table1'[Name], 1)

EVALUATE
  __DS0BodyLimited

ORDER BY
  [SumAmount], 'Table1'[Name]

 

I'd upload the project because that would be simplier but I see no upload link.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I changed the properties on the relationship.  The value for Cross Filter Direction was changed to "Both" and configured the filter for both directoins (checkbox) and now appears to be functioning.

View solution in original post

4 REPLIES 4
TomMartens
Super User
Super User

Hey @Anonymous ,

 

upload the pbix file to onedrive or dropbox and share the link.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable
Anonymous
Not applicable

I changed the properties on the relationship.  The value for Cross Filter Direction was changed to "Both" and configured the filter for both directoins (checkbox) and now appears to be functioning.

I had the same situation but little different . 
My date table and category table in my filters on this page does not work. 
Date table filter supersede the category filter looking that category doesn't exist. 
Weird thing is I do have that category and a row in my fact table but for some reason it doesnt show. 

I end up using the cross filter set to both and it works. 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.