New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Writing DAX for comparing result of #221
Comments
In this example, we assume that you have a table named "TripsTable" with a column named "Date" that contains the dates of the trips and a column named "Trips" that contains the number of trips. You can adjust the code above according to your actual table name and relevant column names. It will return the difference between the total trips for the first week of the current month and the total trips for the first week of the previous month. Make sure to replace "TripsTable" with the correct name of your table and "Trips" with the correct name of the column that contains the number of trips. |
Can someone send how to write dynamic code in DAX to retrieve first week of data for previous month to compare it to first week of data of current month.
For example . i want to find out total trips of a car in 1-Sep-2022 to 7 -Sep-2022 to total trips of a car in 1 -Oct 2022 to 7-Oct 2022
The text was updated successfully, but these errors were encountered: