datesytd help needed
4 TopicsCalculating YTD while keeping Month filter
I have bellow table data: I want to add a measure calculating the YTD of Value so I added this measure : Mesure = CALCULATE(SUM('Table'[Value]), DATESYTD('Calendar'[Date])) Then in my report I filtered on the month 202302, I have the correct result puting the month and the measure : But when I add the product it's showing two lignes : How can I modify the measure to have just the filtered month 202302, the product2 and Measure ytd = 3.3.4KViews0likes6CommentsYTD vs YTD 14 days before last datapoint
Hi Everybody, I am working on a report in which I present a number of notifications. I want to see the total number of notifications per day and presented in a YTD format. I also want to show the # YTD notifications 14 days before each date, as shown in the table. Can somebody help me with the right DAX formula? Thanks you so much! Date # notifications YTD notifications YTD notifications - 14 days 1-2-2022 4 2-2-2022 4 3-2-2022 1 5 4-2-2022 1 6 5-2-2022 6 6-2-2022 6 7-2-2022 1 7 8-2-2022 7 9-2-2022 7 10-2-2022 1 8 11-2-2022 8 12-2-2022 8 13-2-2022 8 14-2-2022 8 4 15-2-2022 8 4 16-2-2022 8 5 17-2-2022 8 6 18-2-2022 8 6 19-2-2022 8 6 20-2-2022 8 7 21-2-2022 2 10 7 22-2-2022 10 7 23-2-2022 10 8 24-2-2022 2 12 8 25-2-2022 12 8 26-2-2022 12 8 27-2-2022 12 8 28-2-2022 12 8Solved966Views0likes4CommentsInclude Previous Year last day amount to current YTD amount
Hi All, I have to ask for a measure to include 12/31 days amount added into current year YTD amount. Date Amount YTD Amount CAL YTD Amount 12/31/2021 2 2 2 + (Amount from 12/31/2020) 12/1/2022 1 1 3 12/2/2022 1 3 12/3/2022 2 3 5 . . . 12/29/2022 3 5 12/30/2022 2 5 7 12/31/2022 2 7 9 1/1/2023 2 2 4 If you see 1/1/2023 CAL YTD amount it is adding 12/31/2022 Amount of 2 and then 1/1/2023 amount of 2. YTD Amount: CALCULATE(SUM(Amount), DATESYTD(Date)) I tried below Dax exp for CAL YTD Amount but not calculating correctly. CAL YTD Amount: CALCULATE(SUM(Amount), DATESYTD(IF(MONTH(Date) = 12 && DAY(Date) = 31, Date + 1, Date)))Solved718Views0likes2CommentsDATESYTD issue.. how to solve if i have records with dates greater than fiscal end date?
Dear All, My issue is with DATESYTD. My report perfectly works if i have records with dates within the fiscal year. The moment i add records with dates greater than fiscal year end date, all my charts go off . DATESYTD stops functioning. Our FY starts on 01-Apr-2019 and ends on 31-Mar-2020. I have records with dates in April 2020. If i remove the records of April 2020 my report works perfectly fine, the momet i add everything goes off. Please help with solution . Or any alternate functions that i shuld use. Screenshots of the table below. The first image where it works fine as i have records with date less than or equal to 31-Mar-2020. The second image is where it goes off when i adda records with dates greater than 31-Mar-2020. I can't eliminate those records as we always provide next 90days Forecast as well. Formula is use is as below : RGN ACV Budget YTD = CALCULATE([RGN ACV Budget], DATESYTD('Calendar'[Date],"03/31")) Sales Fiscal YTD = CALCULATE([TOTAL-WINS], DATESYTD('Calendar'[Date],"03/31"))781Views0likes1Comment