Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello, Wonderful community. I am trying something interesting here and wanted your approach. So we have a dynamic formula that calculates the number of months already passed in the financial year. Then it can multiply this number with a monthly value to get the YTD target.
So my financial year starts in April. If this value we need is in a column, how best would one go around that.
@Datagulf , Try with help from time intellignece and date table
YTD Months= CALCULATE(distinctcount('Date'[Month Year]),DATESYTD('Date'[Date],"03/31"))
MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))
Target = [MTD Sales] * [YTD Months]
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.
Hey, @amitchandak , thanks, though the MTD Sales return Blank. No idea why. I have connected the Date table to the data. No errors..
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
142 | |
77 | |
63 | |
51 | |
47 |
User | Count |
---|---|
214 | |
84 | |
61 | |
61 | |
60 |