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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
feralvarez994
Helper II
Helper II

Table doesn't show all registers

Hi everyone! I have an issue here, i have a table in PBI desktop with all the details from some bookings, most of them are from a table called AUTOS, but the thing is that when i add a column from another table (VENDE, column name VE_APELLIDO) it shows me less registers than before adding it (example, i have 1000 bookings and when i add VE_APELLIDO there are only shown 700).

 

The thing is that i have an intermediate table that doesn't contain any register for that bookings, but i do not want it to remove those rows for not having any linked value, i'd prefer to show the row anyway with a blank value instead. How can I do that ?

 

Thanks you all!

 

 

 

1 ACCEPTED SOLUTION
v-rzhou-msft
Community Support
Community Support

Hi @feralvarez994 ,

 

This should be caused by relationship. I think VENDE table doesn't have all values in intermediate table.

I suggest you to try "Show items with no data" function in your visual.

RicoZhou_0-1651566858101.png

Or you can try change the relationship direction from single to both.

If both ways above couldn't solve your problem, I suggest you to create a measure to calculate the result then use "Show items with no data" function in visual.

Measure looks like as below. If VE_APELLIDO column is number format, you can use SUM in your code. If VE_APELLIDO column is number format, you can use SUM in your code. If VE_APELLIDO column is text format, you can use MAX in your code.

 

MEASURE = 
CALCULATE(SUM/MAX('VENDE'[VE_APELLIDO]),FILTER(ALL('VENDE'),'VENDE'[COLUMN1] = MAX('AUTOS'[COLUMN1])))

 

If this reply still couldn't help you solve your problem, please share a sample file with me and show me the result you want.

 

Best Regards,
Rico Zhou

 

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-rzhou-msft
Community Support
Community Support

Hi @feralvarez994 ,

 

This should be caused by relationship. I think VENDE table doesn't have all values in intermediate table.

I suggest you to try "Show items with no data" function in your visual.

RicoZhou_0-1651566858101.png

Or you can try change the relationship direction from single to both.

If both ways above couldn't solve your problem, I suggest you to create a measure to calculate the result then use "Show items with no data" function in visual.

Measure looks like as below. If VE_APELLIDO column is number format, you can use SUM in your code. If VE_APELLIDO column is number format, you can use SUM in your code. If VE_APELLIDO column is text format, you can use MAX in your code.

 

MEASURE = 
CALCULATE(SUM/MAX('VENDE'[VE_APELLIDO]),FILTER(ALL('VENDE'),'VENDE'[COLUMN1] = MAX('AUTOS'[COLUMN1])))

 

If this reply still couldn't help you solve your problem, please share a sample file with me and show me the result you want.

 

Best Regards,
Rico Zhou

 

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

mahenkj2
Solution Sage
Solution Sage

How do you add other table's column, in power query by merge? or through DAX as calculated column or just see in the visual using relationship? You should clarify the things little more, with some sample data.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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