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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
KC_MS
Frequent Visitor

Table visual with data from 2 different data table only showing common data

i created a table visual getting data from 2 different data tables but it only shows data which is common in both table. Anybody have some idea why and how to resolve?

 

table A is a main table with a lots of column and with a unique key column "Case ID".

it's imported from a pbi dataset created by other department which we can use but can't make any change

 

Case IDColumn 1Column 2...
case1.........
case2.........
case3.........
case4.........


table B is a supplementary info with some info for a few special case, also having the "Case ID"

it's imported from a sharepoint list

Case IDColumn AColumn B
case3......
case4......

 

the visual is structured and own show records like below, i.e. only showing the comon records

Case ID

(from table A)

Column 1Column 2... (some other columns from table A)Column AColumn B
case3...............
case4...............

 

but i would like it to be like this, i.e. show all the cases in table A even it doesn't existing in table B

Case ID

(from table A)

Column 1Column 2... (some other columns from table A)Column AColumn B
case1.........(blank)(blank)
case2.........(blank)(blank)
case3...............
case4...............

 

i rarely use data from others dataset to built anything but i think what i wanted is the "normal" behaviour when i'm having eveything within the my own report. 

so i suspect that the problem is because part of my data are imported from other dataset. But i'm not sure.

 

anyone has idea? if the problem is really due to part of my data is imported from other's dataset, anyway to resolve?

 

Thanks!

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

Create a Dim table of Case ID.  Create a relationship (Many to One and Single) from each Fact table to this Dim table.  To your visual, drag, the Case ID from the Dim table.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
DataInsights
Super User
Super User

@KC_MS,

 

One approach is to create a DAX calculated table consisting of all Case ID values in the two tables. Example:

 

Case ID Master =
DISTINCT (
    UNION ( DISTINCT ( 'Table A'[Case ID] ), DISTINCT ( 'Table B'[Case ID] ) )
)

 

The table 'Case ID Master' should have a relationship with 'Table A' and 'Table B'. Use 'Case ID Master'[Case ID] in the visual.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




this seems created another problem...
it cannot be refreshed with an error like this "We cannot refresh this dataset because the dataset contains calculated tables or calculated columns based on data from a Single Sign-on (SSO)-enabled Direct Query data source. Please configure the dataset to use an explicit connection with granular access control to access this data source and then try again."
any other option?

@KC_MS,

 

See the article below for more details.

 

https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-composite-models#calculated-table... 

 

Are you able to access the underlying data source of 'Table A'[Case ID]? If so, you could import it into your model and union it with 'Table B'[Case ID], forming a master Case ID table.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




that works~
do you know is that beacuse my Table A was imported from an separate dataset causing such problem? or sth else?
any idea why such behavior?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.