How might you make trailing X month measurements by means of DAX against a non-standard timetable?



How might you make trailing X month measurements by means of DAX against a non-standard timetable?..

Answer / Km.vijay Laxmi

To make trailing X month measurements against a non-standard timetable using DAX in Power BI, you can create a calculated table that calculates the lagging dates based on your custom timetable. Here's an example of creating a custom date table and calculating trailing 12 months using DAX:

```
Custom Date Table:
Date = CALENDARAUTO()
Custom Month:= DATE(YEAR([Date]),MONTH([Date]),DAY([Date]))
Trailing 12 Months:= CALCULATE(SUMMARIZE('Table', 'Table'[Date], "Total", COUNTROWS('Table')), FILTER('Table', Custom Month <= MAX(Custom Month) && Custom Month >= DATEADD('Table'[Date], -12, MONTH)))
```

Replace `'Table'` with your actual table name.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Power BI Interview Questions

What are a portion of the distinctions in report creating capacities between utilizing a live or direct question association, for example, to an Analysis Services demonstrate, in respect to working with a data display nearby to the Power BI Desktop document?

1 Answers  


How one can get started with power bi?

1 Answers  


What are many-to-numerous connections and how might they be tended to in Power BI ?

1 Answers  


What are the basics needed for using power bi?

1 Answers  


What are the features of power bi?

1 Answers  


What is self-service business intelligence?

1 Answers  


What are some ways that excel experience can be leveraged with power bi?

1 Answers  


What is DAX?

1 Answers  


What are the significant components of power bi?

1 Answers  


Which dialect is utilized as a part of Power Query?

1 Answers  


What data sources can be connected to for power bi?

1 Answers  


What are the contrasts between a Power BI Dataset, a Report, and a Dashboard?

1 Answers  


Categories