Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Dear Floks,
I m looking for the YTD Sales upto Last Month Example (Current Month is Jan . I need to show the YTD Sales from April 22 upto Dec 22 (Fiscal Year Start with April )). I did the measure using below formula
YTD Upto Last Month
var _start=DATE(year(TODAY()),month(TODAY()),1)
var _calc=CALCULATE('Measure'[Sales],'Dim Date'[Date]<_start)
return if(_calc>0,_calc,0)
same like that i m looking for Last Yr YTD Sales Upto Apr 21 to Dec 21 and i have slicer only for the fiscal year . I'm Getting not the result properly can any body helps.
try like:
in case of issue, please consider providing sample dataset well reflecting your challenge.
@ganesanr1002 What does your date table look like?
Hey , Thanks for the response ,
Here is the script i m using for the dim date
https://radacad.com/all-in-one-script-to-create-calendar-table-or-date-dimension-using-dax-in-power-...
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
24 | |
20 | |
15 | |
12 |
User | Count |
---|---|
55 | |
48 | |
43 | |
19 | |
18 |