Forum Discussion
DAX Measure help
- 3 years ago
Thanks wdx223_Daniel ! Is there way that I can re-use measure. Example If I want to get Total Sales then I need to create new measue. I need to repeat totalsalesanchorfor mom,yoy,ytd. Can you please tell how can I use the same measure
TotalSales = Sum([SalesAmount])
TotalSalesAnchor=IF(MAX(AnchorCustomer[IsAnchor]),SUM[SalesAmount]))
- 3 years ago
Hi abhiram342
You can use visual level filter pane. Place the following measure in the filter pane, select "is" and type 1 then apply the filter.FilterMeasure = INT ( MAX ( AnchorCustomer[IsAnchor] ) )
AnchorSales=IF(MAX(AnchorCustomer[IsAnchor]),SUM[SalesAmount]))
Thanks wdx223_Daniel ! Is there way that I can re-use measure. Example If I want to get Total Sales then I need to create new measue. I need to repeat totalsalesanchorfor mom,yoy,ytd. Can you please tell how can I use the same measure
TotalSales = Sum([SalesAmount])
TotalSalesAnchor=IF(MAX(AnchorCustomer[IsAnchor]),SUM[SalesAmount]))
- wdx223_Daniel3 years ago
Community Champion
calculation group can do that job.