cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bhushan_patil New Member
New Member

undefined

I have data imported from server and need to create columns that will be measuring YTD figures upto particular week of a selected year for example if I select week 2018-39 so the YTD should be calculated from week 1 to week 39 .

1 ACCEPTED SOLUTION

Accepted Solutions
v-jiascu-msft Super Contributor
Super Contributor

Re: undefined

Hi @bhushan_patil,

 

You can achieve this easily by using the TOTALYTD function. There should be a date table. Please check out the demo in the attachment.

Measure = TOTALYTD(sum(FactSales[Sales]), 'Calendar'[Date])

undefined3

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 REPLY 1
v-jiascu-msft Super Contributor
Super Contributor

Re: undefined

Hi @bhushan_patil,

 

You can achieve this easily by using the TOTALYTD function. There should be a date table. Please check out the demo in the attachment.

Measure = TOTALYTD(sum(FactSales[Sales]), 'Calendar'[Date])

undefined3

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community Highlights

Community Highlights

Find out what's new in the Power BI Community!

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 309 members 3,466 guests
Please welcome our newest community members: