Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Name the language that is used in power query.

1 Answers  


What is power bi publisher for excel?

1 Answers  


What are the data destinations for power queries?

1 Answers  


What is Power Pivot?

1 Answers  


What are many-to-many relationships and how can they be addressed in power bi ?

1 Answers  


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

1 Answers  


What are the benefits of using variables in dax?

1 Answers  


What are the different types of filters in power bi reports?

1 Answers  


How is the filter function used?

1 Answers  


What is Power BI Desktop?

1 Answers  


What is question collapsing in Power Query?

1 Answers  


What are some of the differences in report authoring capabilities between using a live or direct query connection such as to an analysis services model, relative to working with a data model local to the power bi desktop file?

1 Answers  


Categories