Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

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.

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.

 

 

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:

 

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.

 

  • Icey's avatar
    Icey
    6 years ago

    Hi Anonymous ,

     

    Try to set the Start value of Y-axis (line) as 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.

     

  • Icey's avatar
    Icey
    6 years ago

    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.

     

6 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

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

       

      • Icey's avatar
        Icey
        Community Support

        Hi Anonymous ,

         

        Try to set the Start value of Y-axis (line) as 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.