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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Zyg_D
Continued Contributor
Continued Contributor

Table graph shows incorrect number of rows

This is my simple data: 

 

data.JPG

relationship.JPG

 

This is the table graph (one row is missing):

 

Table_graph.JPG

 

How do I make the table graph show the missing row? I tried setting the filter to "is blank" or "is 0", but it did not help. 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Zyg_D , Create measure with +0

or try this option

ShowItemwithoutdata.JPG

View solution in original post

4 REPLIES 4
Anand24
Super User
Super User

Hi @Zyg_D ,

 

I was able to re-create the same scenario as yours with one-to-many relationship and same columns taken into table viz.

 

Seems like your [Year] measure is at 'Don't Summarize'.

Change it to 'Sum' and your missing row should be visible.

 

Before(left) and After(right) image:

 

rows missing.PNG

 

Don't forget to give thumbs up and Accept this as a solution if it helped you !!!

westwrightj
Resolver III
Resolver III

Hey @Zyg_D ,

 

   Thanks for reaching out to the community. I think I see what is going on in your question

 

    So I've used the same data you provided as my test data

 

   

westwrightj_0-1596460861392.png

 

westwrightj_1-1596460872157.png

 

 

westwrightj_2-1596460879804.png

 

Power BI will default to excluding blanks if you just place the different columns into a table and ask it to count

 

westwrightj_3-1596460995594.png

 

One solution is to make a measure like the following

 

Count of ID = 

COUNT(Table1[ID])

 

Which will provide the following result

 

Capture.PNG

 

There are other ways to go about what you are trying to accompish - but let us know if this works for you. If not we can noodle it around some more

 

amitchandak
Super User
Super User

@Zyg_D , Create measure with +0

or try this option

ShowItemwithoutdata.JPG

Greg_Deckler
Super User
Super User

@Zyg_D I think there should be an option of showing blank values for your column. Otherwise, you can aways create a measure that always return 1 and add it to your visual (and then shrink it down to hide it)

 

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-show-items-no-data


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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