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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Table not showing the records in the table visual based on filter selection.

I have two tables. There are some record in table2 11,12,13,14,15,16,17. Which are not in table1.

1.PNG

 

I created a relationship like below and cross filter both directions.

Table2 1:M Table1

 

Selected the table2.key attribute in the filter.

 

First added the attributes from the table1 to table visual and then added the attributes from the table2.

Selected a values “ 17”  from the filter which is not available in Table1.

 

 Table visual not showing the any data  

3.PNG

 

 

First added the attributes from the table2 to table visual and then added the attributes from the table1.

Selected a values “ 17”  from the filter which is not available in Table1.

Showing the data

4.PNG

what is the problem here , is this issue related to data or data in the model ? visual backend DAX calculation ?

1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

Even though there is no filters in Slicer visual, the result page values is different according to the order of displaying table fields.  See the similar case Order of Field Selection Changes the Data,  we know this behavior is by design. About the order of the fields matter, the documentation has an article explaining why the result is different depending on the order, see: https://docs.microsoft.com/en-us/power-bi/desktop-show-items-no-data .

 

You may create an intermediate table like DAX below, then create relationships with your original two tables.

 

NewTable = UNION(DISTINCT(Table1[Table1.Key]), DISTINCT(Table1[Table2.Key]))

 

Best Regards,

Amy 

 

Community Support Team _ Amy

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

View solution in original post

2 REPLIES 2
v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

Even though there is no filters in Slicer visual, the result page values is different according to the order of displaying table fields.  See the similar case Order of Field Selection Changes the Data,  we know this behavior is by design. About the order of the fields matter, the documentation has an article explaining why the result is different depending on the order, see: https://docs.microsoft.com/en-us/power-bi/desktop-show-items-no-data .

 

You may create an intermediate table like DAX below, then create relationships with your original two tables.

 

NewTable = UNION(DISTINCT(Table1[Table1.Key]), DISTINCT(Table1[Table2.Key]))

 

Best Regards,

Amy 

 

Community Support Team _ Amy

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

amitchandak
Super User
Super User

@Anonymous ,

better

Create a common dimension and have keys from both tables and use it

 

Keys = distinct(union(all(Table1[Key]),all(Table2[Key])))

 

I doubt most of the joins are right join 1 to M .

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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