Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Cummulative sum using a different dataset date field

I have two datasets here i have one Amount field and one date field in each dataset. I have created two measures which gives me the cummulative sum in each dataset.

 

Table1:

DateAmountCummulative
11/16/20195050
11/23/201960110
11/30/201970180
12/1/201910190

 

Table 2:

DateAmountCummulative
11/16/20196050
11/23/201960120
11/30/201950170
12/1/201930

200

 

Cummulative Sum is coming correct in both the tables But the issue is:

When I do the Line graph adding both cummulatives measures in Values and date field from one of the table. then the cummulative is not working for one of them. that is I'm getting the Actual amount instead of cummulative measure for one of the table.

 

  • Hi Anonymous ,

     

    you need a date table with relations to both tables.

     

    Regards,

    Marcus

    Dortmund - Germany
    If I answered your question, please mark my post as solution, this will also help others.
    Please give Kudos for support.

3 Replies

  • mwegener's avatar
    mwegener
    Icon for Most Valuable Professional rankMost Valuable Professional

    Hi Anonymous ,

     

    you need a date table with relations to both tables.

     

    Regards,

    Marcus

    Dortmund - Germany
    If I answered your question, please mark my post as solution, this will also help others.
    Please give Kudos for support.

  • V-lianl-msft's avatar
    V-lianl-msft
    Icon for Community Support rankCommunity Support
    Hi Anonymous ,
     
    As mwegener  said before,for more details ,you can refer to the pbix.
     
    Best Regards,
    Liang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.