Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
i have two measures of year start date and year end date and i also have total sales but need to calculate ytd with those two measures i cant find correct dax expression for that please help.
thanks
not that simple need to calculate ytd with the two measure as i mentioned above.
At it's simplest you can do something like this:
TOTALYTD (
[Sales Amount],
'Date'[Date]
)
You do however need a date table. Have a look at:
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/
From your description however I'm not certain on your requirements. If you provided a demo file I'm sure we can help more.
Ben
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
29 | |
18 | |
15 | |
7 | |
6 |