Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 14 | |
| 8 | |
| 8 | |
| 8 |