Forum Discussion
Using ALL filter creates blank rows
- 3 years ago
Hi watje255_ju ,
Try replacing date from dimdate with date from factsales and format it as "Mmm yyyy"
Hi, thanks for your reply, that is the problem that I am trying to fix, when there is no data in the underlying table for that SKU and Month, I want to pull the average COGS per unit for that SKU, so that there is a COGS value and we can still calculate a gross margin. This happens in the odd occasion because the GL date can be 1 day behind the subledger date or vice versa, thank you!
- watje255_ju3 years agoHelper III
Thanks, unfortunately the COGS data and the sales data comes from different systems so there has to be two fact tables. IF there is no data for the month due to timing mistmatch, I want to pull the average COGS for that SKU as we still need to report a GM for that sale. Thanks for your time.
- some_bih3 years agoCommunity Champion
watje255_ju you are on good way to resolve this. take a time
- some_bih3 years agoCommunity Champion
watje255_ju you are on good way to resolve this. take a time