Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

YTD LY

I have been browsing the community threads and I just can't seem to find the proper formula that would show PY sales but onlyonly calculating it thru the current date.  Meaning if I am looking for YTD PY now, I would like it to display the prior year results from Jan-16 thru May-16.  I have tried sameperiodlastyear, but it give the full year versus giving the results thru May-16.

2 ACCEPTED SOLUTIONS
richbenmintz
Solution Sage
Solution Sage

Can you share your pbix file, much easier to assist if I can see the the tables, data and relations.

 

thanks,



I hope this helps,
Richard

Did I answer your question? Mark my post as a solution! Kudos Appreciated!

Proud to be a Super User!


View solution in original post

Anonymous
Not applicable

Thx for the follow-up.  I actually cobbled together the solution from Power BI Community threads just before your reply.

 

Thx for reaching out to help!

View solution in original post

2 REPLIES 2
richbenmintz
Solution Sage
Solution Sage

Can you share your pbix file, much easier to assist if I can see the the tables, data and relations.

 

thanks,



I hope this helps,
Richard

Did I answer your question? Mark my post as a solution! Kudos Appreciated!

Proud to be a Super User!


Anonymous
Not applicable

Thx for the follow-up.  I actually cobbled together the solution from Power BI Community threads just before your reply.

 

Thx for reaching out to help!

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.