cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nmhung49
Helper I
Helper I

Accumulate YTD

Hi everyone
I need help in this case
Now my dax only correct for not show Product column
For example as shown below
When I select Month = May => Product A => Acumulate = 19 and Product B => Acumulate = 27

 

nmhung49_0-1632198004671.png

Please see the attached file  

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@nmhung49 , Few more changes are required. Please find the attached file after signature

 

Date Table, Use Date from date table in formula. Month and Year in Date table



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

3 REPLIES 3
Jihwan_Kim
Super User
Super User

Hi,

I am not sure if I understood your question correctly, but I think Product C also need to show accumulate number even it does not have sales in May.

I suggest having a proper dim-date table, assigning it as a date table, and having a one-to-many relationship with the data table.

Please check the below picture and the link down below, if it is what you are looking for.

 

Picture1.png

 

 

Link to the sample pbix file 

 

 

 


If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

Best regards, JiHwan Kim

Linkedin: https://www.linkedin.com/in/jihwankim1975/

Twitter: https://twitter.com/Jihwan_JHKIM

amitchandak
Super User
Super User

@nmhung49 , Few more changes are required. Please find the attached file after signature

 

Date Table, Use Date from date table in formula. Month and Year in Date table



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

amitchandak
Super User
Super User

@nmhung49 , Mark date table as the date table , Option on right click.

 

Create a new column for year in date table and use

 

Year = Year([Date])



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!