Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

In Continuous week i want continuous line

Hi Team, Here i'm attached a one snip shot  Basically i want continuous line in Bar chart but it is not showing in the chart. in same chart which places are shows blank should replace with 0...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi Anonymous 

    You can refer to the following.

     

    Create a new table

    Table2 =
    SUMMARIZE (
        ADDCOLUMNS (
            CALENDAR ( DATE ( 2022, 1, 1 ), DATE ( 2024, 12, 31 ) ),
            "Year-WeekNum",
                WEEKNUM ( [Date] ) & "`"
                    & RIGHT ( YEAR ( [Date] ), 2 )
        ),
        [Year-WeekNum]
    )
    

    Then create a 1:n relationship between the tables.

     

    Then create the the measures .

    Plan Line = SUM('Table'[Cum_visible])+0
    Real Line = SUM('Table'[Cum_visible_Completed])+0

    Then put the following field to the visual.

     

    Output

     

    Best Regards!

    Yolo Zhu

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