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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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