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
dw0012
New Member

Gaps in Line chart causing issues throughout chart

I have about three dates missing from the data when I'm in the 1st slicer (slicers on the left). This is causing the bars not to populate when I'm in the 1st slicer and the select all slicer in this particular month. 

 

 

dw0012_0-1713628161988.png

 

Month of February 1st slicer

dw0012_1-1713628308178.png

Month of February Select ALL

dw0012_2-1713628348023.png

 

Month of March Select all

dw0012_3-1713628374749.png

 

I'm using the Service Date for my x, %absencemade up for column y axis, and attendancetypecount for line y axis.

 

%AbsenceMadeUp = DIVIDE([AttendanceTypeCountMU], 'AttMeasures_Counts'[AttendanceTypeCount], 0)
 
AttendanceTypeCount =
CALCULATE(
    COUNT(Attendance[Attendance Type Code]),
    FILTER(
        Attendance,
        (
            Attendance[Attendance Type Code] = "CA" ||
            Attendance[Attendance Type Code] = "CAL" ||
            Attendance[Attendance Type Code] = "CU" ||
            Attendance[Attendance Type Code] = "TA" ||
            Attendance[Attendance Type Code] = "TA-PTO"
        )
    )
)
1 ACCEPTED SOLUTION
v-huijiey-msft
Community Support
Community Support

Hi @dw0012 ,

 

Thanks for the reply from @lbendlin .

 

Select the visual object and set the X-axis Type to Continuous. Try it?

vhuijieymsft_0-1713775715092.png

 

My missing dates work fine in this mode.

vhuijieymsft_1-1713775715095.png

 

If you can not solve it, can you provide me with the pbix link?

Please do not log in to your account in Power BI Desktop when uploading pbix files.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

View solution in original post

3 REPLIES 3
v-huijiey-msft
Community Support
Community Support

Hi @dw0012 ,

 

Thanks for the reply from @lbendlin .

 

Select the visual object and set the X-axis Type to Continuous. Try it?

vhuijieymsft_0-1713775715092.png

 

My missing dates work fine in this mode.

vhuijieymsft_1-1713775715095.png

 

If you can not solve it, can you provide me with the pbix link?

Please do not log in to your account in Power BI Desktop when uploading pbix files.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

I can't do continuous because I'm not including weekends, so the bars have huge gaps between them. 

lbendlin
Super User
Super User

ok.  What is your question?  What would be your expected result?

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.