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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Kalachuchi
Helper III
Helper III

Help with table relation

So I have two tables Input and Output which has ID and Master ID as foreign key relating to each other.

 

My chart is showing output data while a table below is showing input data.

If I add output date (results) to the input data then the table only shows info of output while it should also include input table.

 

Input table:

IDNameAge
1Arthur Morgan22
2Dutch Van der linde32
3

Hosea Matthews

45

 

Output Table:

Master IDAnswer 1Answer2
1YesYes
2NoNo

 

Problem is 

When I show the answer 1 on my column chart it shows 2 counts,

 

Expected output on Table:

NameAgeAnswer1
Arthur Morgan22Yes
Dutch Van der linde32No
Hosea Matthews45 

 

Problem is when I add answer 1 from Output Table, it only shows name who has only answered the questions. I want all input appear on the table even if answered or not.

ID and master ID are already connected on table relations.

Thank you for help

1 ACCEPTED SOLUTION
Anonymous
Not applicable

can you share some sample data with us? 

 

It seems to work ok for me 

 

Karlos_0-1595581290884.pngKarlos_1-1595581301559.png

 

 

 

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Is that what you're looking for? 

Karlos_0-1595583432369.png

https://1drv.ms/u/s!AnIEh6WhI4JogrAAnyDVVkj51F1Xdg?e=v77bfY

 

I've created a sample PBIX to show you how to achieve this. essentially, I've just merged the two, together then replaced "null" with "No answer"

 

 

 

Did not know this merge function lol. It worked, thank you so much!

Anonymous
Not applicable

can you share some sample data with us? 

 

It seems to work ok for me 

 

Karlos_0-1595581290884.pngKarlos_1-1595581301559.png

 

 

 

it does work, problem is I think the column chart is filtering the table since column chart only contains answered questions. It does not show Hosea.

calerof
Impactful Individual
Impactful Individual

Hi @Kalachuchi,

 

If you select Id from your Input table as axis and count Answer1 as values in a Column chart, make sure you expand the arrow in the Id field and select "Show items with no data", and you get this:

 

ColumnChart.png

 

Hope it helps.

 

Regards,

 

Fernando

@calerof I am achieving to count the answers on the chart and full input list with answer on table.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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