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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
NitishChaubey
Regular Visitor

Cardinality and filtering

Hi Guys,
I am new to power bi and would like to know that How my left table is filtering my right table as there is no direct relationship?

NitishChaubey_0-1667736328124.png

Report View-

NitishChaubey_2-1667736510072.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

This is my test data.

Left table:

vtangjiemsft_0-1668406118660.png

 

Right table:

vtangjiemsft_1-1668406118662.png

 

Fact table:

vtangjiemsft_2-1668406118663.png

 

Relational model:

vtangjiemsft_3-1668406118667.png

 

 

Filter from one end to multiple ends. That is, the left table id filters the fact table ID.

 

vtangjiemsft_4-1668406118667.png

 

 

vtangjiemsft_5-1668406118668.png

 

The overlapping ID is [1,2,3,4]. Then observe that the sales values with id [1, 2, 3, 4] and the corresponding id [1, 2, 3, 4] in the right table are [15, 17, 19, null] respectively.

vtangjiemsft_6-1668406118668.png

 

 

The right table id filters the fact table ID. The overlapping part has an ID of [1,2,3,6], and the sales value with id [1,2,3,6] in the right table is [15,17,19,23].

vtangjiemsft_7-1668406118669.png

 

 

vtangjiemsft_8-1668406118669.png

 

At this point we can get. Since the left table does not have id[6], it is null corresponding to the sales value[23].

vtangjiemsft_9-1668406118670.png

 

Finally, the union of picture①  and picture② results is taken.

vtangjiemsft_10-1668406118670.png

Best Regards,

Neeko Tang

If this posthelps, then please considerAccept it as the solutionto help the other members find it more quickly. 

View solution in original post

8 REPLIES 8
Anonymous
Not applicable

Hi   @NitishChaubey ,

You can use the TREATAS() function to simulate a relationship when no relationship exists.

 

Your syntax would be something along the lines of

CALCULATE(
	[Measure],
	TREATAS(Incident[RequesterID], Problem[Employee???})
)

 

You also can use the query editor to create a merged table as a slicer, and create if measure as a visual level filter.

Please refer to the solution for similar posts:

Solved: Filtering table 2 without relationship - Microsoft Power BI Community

Solved: Dynamically filter one table by another without us... - Microsoft Power BI Community

Solved: Look up filtered value without relationship - Microsoft Power BI Community

 

Best Regards,

Neeko Tang

If this posthelps, then please considerAccept it as the solutionto help the other members find it more quickly. 

Anonymous
Not applicable

Hi @Anonymous ,Could you please tell me if the values in the result table below has been filtered or not .As far i know we are getting the value and filtering is happening else we would have just got the sum of the right table values in the result column.

Anonymous
Not applicable

Hi @Anonymous ,

 

Because you have fields from different tables in your visual, filtering works. This is by design. If you want to test whether the left table can filter the right table, you can put all the fields of the right table into a visual and the left table fields into a slicer to check if they can interact. Depending on the document, filter by arrow direction, or you can set up a bidirectional relationship for two-way filtering.

 

Please refer to the following document for more information.

Model relationships in Power BI Desktop - Power BI | Microsoft Learn

Many-to-many relationship guidance - Power BI | Microsoft Learn

Bi-directional relationship guidance - Power BI | Microsoft Learn

 

Best Regards,

Neeko Tang

If this posthelps, then please considerAccept it as the solutionto help the other members find it more quickly. 

Anonymous
Not applicable

Hi @Anonymous ,
Thanks fo replying-
Upon digging it further i came came to know that I have made "Dont Summarize" option selected on all the sales field of my left,right and fact table.
I also got know that my left table is not filtering my right table directly.
But I would like to know what kind of join operations are happening at the backend in the result table.
How are we getting the data if we select "Dont Summarize" option .Is it a simple Inner Join?

ChaubeyNitish_2-1668163112140.pngChaubeyNitish_3-1668163128642.png

 

Anonymous
Not applicable

Hi @Anonymous ,

 

This is my test data.

Left table:

vtangjiemsft_0-1668406118660.png

 

Right table:

vtangjiemsft_1-1668406118662.png

 

Fact table:

vtangjiemsft_2-1668406118663.png

 

Relational model:

vtangjiemsft_3-1668406118667.png

 

 

Filter from one end to multiple ends. That is, the left table id filters the fact table ID.

 

vtangjiemsft_4-1668406118667.png

 

 

vtangjiemsft_5-1668406118668.png

 

The overlapping ID is [1,2,3,4]. Then observe that the sales values with id [1, 2, 3, 4] and the corresponding id [1, 2, 3, 4] in the right table are [15, 17, 19, null] respectively.

vtangjiemsft_6-1668406118668.png

 

 

The right table id filters the fact table ID. The overlapping part has an ID of [1,2,3,6], and the sales value with id [1,2,3,6] in the right table is [15,17,19,23].

vtangjiemsft_7-1668406118669.png

 

 

vtangjiemsft_8-1668406118669.png

 

At this point we can get. Since the left table does not have id[6], it is null corresponding to the sales value[23].

vtangjiemsft_9-1668406118670.png

 

Finally, the union of picture①  and picture② results is taken.

vtangjiemsft_10-1668406118670.png

Best Regards,

Neeko Tang

If this posthelps, then please considerAccept it as the solutionto help the other members find it more quickly. 

Anonymous
Not applicable

Hi @Anonymous  ,Please look at the Result Table 

ChaubeyNitish_0-1668159256177.png

In my visual i dont have fact table's data then how this happened??Is my left table really filtering my right table?

Greg_Deckler
Community Champion
Community Champion

@NitishChaubey What is the aggregation or measure formula for your Sales from right table?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi @Greg_Deckler ,Upon digging it further i came came to know that I have made "Dont Summarize" option selected on all the sales field of my left,right and fact table.
I also got know that my left table is not filtering my right table directly.
But I would like to know what kind of join operations are happening at the backend in the result table.

ChaubeyNitish_0-1668162861822.png

How the data is being displayed on the result table here?Is it a simple inner join happening or something else?

ChaubeyNitish_1-1668162934633.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors