Skip to main content
cancel
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.

Reply
Anonymous
Not applicable

Empty value on Graph

Hi, I have a problem with empty values on my visualisations.

 

So I have this Dimension table which I downloaded from here

 

And I have written some measurements in PowerBI, in my case an Distinct employee count in order to see the number of employees over the year. The problem now that when I put it on a grpah with months on the x-axis. I also get to see an empty part in my graph in my visualisation. See image.

Employeecounterror.PNG

Now I know I can filter the results to not show: "Isnot empty" but when I do this I get following visual which gives a false or confusing image.

 

EmployeeErrorLeftKnipsel.PNG

 

Anyone that knows a solution for this? Because of this problem it now looks like we have a negative employee count for january which isn't true.

 

After that I also tried to start having the Y-axis start at 0 which semi-fixed the problem but still gives a confusing visual:

ProductivityY0.PNG

 

This is the measure used for Employeecount:

EmployeeCount = CALCULATE(DISTINCTCOUNT(FactHarvest[NameEmployee]))
 
And here is some sample data from the Fact table if needed:
DateClientProjectHoursBillableBillable RateBillable AmountTaskTypeNameEmployee
dinsdag 1 januari 2019Data WiseCloud Architecture8No86688InternNon-billableKlaas Wouters
Woensdag 6 februari 2019 AbInbevCustomer interaction PoC8Yes90720Billable Customer TimeBillableKlaas Wouters
Vrijdag 1 maart 2019Data WisePyspark8Yes86688InternNon-BillableAstrid Lemmens
Vrijdag 1 maart 2019Data WisePyspark8Yes86688InternNon-BillableKlaas Wouters
Vrijdag 5 april 2019Ab InbevCustomer interaction PoC8Yes90720Billable customer timeBillableKlaas Wouters
Vrijdag 5 April 2019Data WisePyspark8Yes86688InternNon-BillableAstrid Lemmens
Vrijdag 5 April 2019Airport CompanyPipeline8yes86688Billable customer timeBillableRandy cuppens
Maandag 8 April 2019Data WisePyspark8Yes86688InternNon-BillableAstrid Lemmens
Maandag 8 April 2019Airport CompanyPipeline8yes86688Billable customer timeBillableRandy cuppens

Thanks in advance.

 

2 ACCEPTED SOLUTIONS
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Try to set the Start value of Y-axis (line) as 0.

second.PNG

 

 

Best Regards,

Icey

 

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

Icey
Community Support
Community Support

Hi @Anonymous ,

 

Maybe I didn't explain clearly. The reference Y-axis of the line in the figure is on the right, not on the left. So, you need to change the start value of the right Y-axis to 0. 

 

 

Best Regards,

Icey

 

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

6 REPLIES 6
amitchandak
Super User
Super User

did you try filter Employee count >0

 

 

Anonymous
Not applicable

Hi @amitchandak just tried that, didn't seem to fix the problem tho.

 

Icey
Community Support
Community Support

Hi @Anonymous ,

 

Try to set the Start value of Y-axis (line) as 0.

second.PNG

 

 

Best Regards,

Icey

 

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

 

Anonymous
Not applicable

@Icey  this semi-helps the problem but still gives a confusing visual:

 

ProductivityY0.PNG

 

Icey
Community Support
Community Support

Hi @Anonymous ,

 

Maybe I didn't explain clearly. The reference Y-axis of the line in the figure is on the right, not on the left. So, you need to change the start value of the right Y-axis to 0. 

 

 

Best Regards,

Icey

 

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

 

Anonymous
Not applicable

Thanks alot!

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

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