Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
Hi,
I need to calculate Year to date amounts but starting in September, not as calendar date. Also I need to show both period in same dashboard (YTD and MTD). Any ideas/solution for this ?
Thanks in advance.
Regards.
Solved! Go to Solution.
The DATESYTD function has an optional parameter which lets you specify the year end
https://msdn.microsoft.com/en-us/query-bi/dax/datesytd-function-dax
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
you can use the function CALCULATE(SUM[AMOUNT],DATESYTD[dates]) and then when you put in the visual remember to put the dates too and filter since september.
Other function that i think... is to create a new table with dates since september (one date for each row). do a relathionship between your table of sales & dates and then is new table of dates to use in the visuals
you can use the function CALCULATE(SUM[AMOUNT],DATESYTD[dates]) and then when you put in the visual remember to put the dates too and filter since september.
Other function that i think... is to create a new table with dates since september (one date for each row). do a relathionship between your table of sales & dates and then is new table of dates to use in the visuals
Hi,
I created a base table date for filter purposes. Thanks !
The DATESYTD function has an optional parameter which lets you specify the year end
https://msdn.microsoft.com/en-us/query-bi/dax/datesytd-function-dax
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
Hi,
Thanks.!! It helped.
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Check out the November 2024 Power BI update to learn about new features.
User | Count |
---|---|
91 | |
86 | |
83 | |
76 | |
49 |
User | Count |
---|---|
145 | |
140 | |
109 | |
68 | |
55 |