Forum Discussion

ranz_vincent's avatar
ranz_vincent
Helper I
1 year ago
Solved

Adding YTD in a weekly Stack Graph

Hello, so I am having trouble on how to add a YTD columns to my visual and I was hoping find a way to add a YTD value that counts the distinct value of all the dates beside the weekly values. Also if...
  • danextian's avatar
    1 year ago

    Hi ranz_vincent 

     

    You'll need to use a disconnected table that includes the week numbers, as well as an extra row for YTD. Then, create a measure to return the value based on either the week number or whether the row is for YTD.

    Please see the attached pbix.