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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.


display zeros in line graph

Hello everyone, I have the following case.
I need to visualize to zero the records that do not appear in the fact table, of the hours that the employee dedicates to the project.
But when I perform that measurement, it shows me all the projects that I have in the data model and does not filter me according to the employee I have selected, and I do not know how to do it to show only the projects that belong to that employee.
if you can help me, I thank you.


This is the model.


if you see in the matrix on the right, the projects in which the employee participates, there are 3.
However, to my extent, it takes out all the projects I have in the model.
The measurement I'm using to paint the data to zero is as follows.


The data is very basic.
Calendar table.


Employees table.


The FACT table, which stores the hours spent per day on the project.


and finally the projects table, which has the project data.


It is an example model, or to share the info with you.
Greetings I thank you for any help.

I don't like how to share pbix, or excel, I'm new to this. if you tell me I share it.
Thanks again.

Community Support
Community Support

Hi @Anonymous,

Did these records really exist in your tables? If they are not included in your table records, you need to use a calendar table with Dax expression to expand the records.
In addition, zero value will auto removed in the chart and other graphs visualization. If you want to display zero value records, please use table visuals instead.


Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Super User
Super User

Usually in such scenarios (when you want to show data that is not there) you need to create a cross join between your dates table and your employees table, and then use measures to calculate if there's a value at the intersection or a zero.

Helpful resources


Fabric certifications survey

Certification feedback opportunity for the community.