Forum Discussion

sam_nik12345's avatar
sam_nik12345
Helper II
4 years ago
Solved

same value repeating issue

My sales and po tables looks like below:

datesales
2018-0112
2018-0223
2018-0334
2018-0445
2018-0555

 

datep/o
2018-0244
2018-0323
2018-0522

 

When I combine the visualization I get only total p/o values in all rows as below.

datesalesp/o
2018-011289
2018-022389
2018-033489
2018-044589
2018-055589

 

Can anyone help me solving this? Ideally it should look like below:

datesalesp/o
2018-0112 
2018-022344
2018-033423
2018-0445 
2018-055522
  • Hi, sam_nik12345 ;

    Alternatively, you only need to create a measure.   Note: No relationship is required.

     

    Measure = CALCULATE(SUM('PO'[p/o]),FILTER('PO',EOMONTH([date],0)=EOMONTH(MAX('sales'[date]),0)))

     

    Best Regards,
    Community Support Team_ Yalan Wu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

4 Replies