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
maxduff59
Helper II
Helper II

Showing all values of an other table on X-axis even the one with no values

Hi everybody,

I created one table containing all weeks of a year with the year associated (2022 - 1, 2022 - 2, 2022 - 52, 2023 - 1, ...).
And in an other table, I have some values for some week such as on the following example : 

maxduff59_0-1672654761601.png

 

I would like to create a barplot with all "year_week" which are present in the table 1 and not only the one who have values associated. 

maxduff59_1-1672655113060.png

I tried to create a relationship between both table (a one-to-many firstly and then a many-to-many) with no success. Do you have an idea of how I could proceed ?
Thanks in advance for your help and your time

1 ACCEPTED SOLUTION
Barthel
Solution Sage
Solution Sage

Hey @maxduff59,

Within the visual (bar chart) you have the option to show items without data. Select the visual. Click the arrow pointing down for the column you're using as an axis. And then select 'Show items with no data'.

Barthel_0-1672657502967.png

View solution in original post

1 REPLY 1
Barthel
Solution Sage
Solution Sage

Hey @maxduff59,

Within the visual (bar chart) you have the option to show items without data. Select the visual. Click the arrow pointing down for the column you're using as an axis. And then select 'Show items with no data'.

Barthel_0-1672657502967.png

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.