How would you create trailing x month metrics via dax against a non-standard calendar?



How would you create trailing x month metrics via dax against a non-standard calendar?..

Answer / Rahul Bhaskar

To create trailing n-month metrics using DAX on a non-standard calendar, you can use the CALCULATE and LAST function. You'll first need to define your custom calendar table, then create a measure that calculates the required metric for the current row and the previous 'n' rows by using the LAST function within the CALCULATE statement.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Power BI Interview Questions

What are some ways that Excel experience can utilize with Power BI?

1 Answers  


What are the distinctive sorts of invigorating data for our distributed reports?

1 Answers  


What is Power View?

1 Answers  


How does ssrs integrate with power bi?

1 Answers  


What are inquiry parameters and Power BI layouts?

1 Answers  


What is the need of signing up with work email?

1 Answers  


What are the different types of refreshing data for our published reports?

1 Answers  


What are the most common dax functions used?

1 Answers  


What are some common power query/editor transforms?

1 Answers  


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

1 Answers  


Which language is used in power query?

1 Answers  


For what reason may you have a table in the model with no connections to different tables?

1 Answers  


Categories