Forum Discussion
Anonymous
3 years agoNot applicable
Compare only Matched Date Value
Having two fact tables that has one-to-many relationship with Calendar table. One table contains data with daily price (category would not be considered) and other table with the Monday date price d...
- 3 years ago
Hi,
Thank you for your feedback.
Please check the below picture and the attached file.
It is for creating a new table.
Tahreem24
Super User
3 years agoAnonymous You can create new table by writing this DAX code:
Table = SUMMARIZE(FILTER(DailyPriceTable,DailyPriceTable[Date]=RELATED(MondayPriceTable[Date])),DailyPriceTable[Date],DailyPriceTable[Category],"Daily Price", SUM(MondayPriceTable[Price]),"Monday Price",SUM(MondayPriceTable[Price]))
Anonymous
3 years agoNot applicable
Tahreem24 Thank you for your effort.
The RELATED() doesn't work in mine.