thomdeluca
New Member
- Joined
- Sep 27, 2008
- Messages
- 10
Scenario:
Have two tables: Sales and Forecast.
There are 4 Products that we "sell".
Forecast Table has forecasted sales by week, for each of the 4 products, for 52 weeks.
The Sales Table, updates each week, with that single-most current week's sales, by product.
I linked both tables.
When I Pivot, I only want the weeks that have sales data to return in my Pivot; recall, there are 52 weeks of forecasted data, and each week, another week's actual sales occur.
At this time, the Pivot is returning 52 weeks, with Forecasted values and blanks for the Sales Measure (as there are future weeks which sales haven't occurred yet).
My question: Is there a DAX formula that can filter to return only those weeks in which there are sales values? How might you write such a formula?
I can share the workbook.
Have two tables: Sales and Forecast.
There are 4 Products that we "sell".
Forecast Table has forecasted sales by week, for each of the 4 products, for 52 weeks.
The Sales Table, updates each week, with that single-most current week's sales, by product.
I linked both tables.
When I Pivot, I only want the weeks that have sales data to return in my Pivot; recall, there are 52 weeks of forecasted data, and each week, another week's actual sales occur.
At this time, the Pivot is returning 52 weeks, with Forecasted values and blanks for the Sales Measure (as there are future weeks which sales haven't occurred yet).
My question: Is there a DAX formula that can filter to return only those weeks in which there are sales values? How might you write such a formula?
I can share the workbook.