VAR mindate = DATE([signupyear],1,1)
VAR maxdate = EOMONTH([reportingyear],[Reportingmonth],1)
VAR inperiod = DATESBETWEEN(DateTable,mindate,maxdate)
If I would like to multiply the first month by the difference of months in the selection
Jan - May
Jan * 5
Feb * 4
March * 3
April * 2
May * 1
How could I implement that?
I noticed you didn’t provide a PBIX file. Providing one will help users and experts find a solution to your inquiry faster and better.
A perfect initial question includes all of the following:
- A clear explanation of the problem you are experiencing
- A mockup of the results you want to achieve
- Your current work-in-progress PBIX file
- Your underlying data file (to allow us to go into Power Query if necessary to transform your data and/or data model – often DAX questions really end up being data modeling solutions)
Check out this thread on Tools and Techniques for Providing PBIX Files with Your Forum Questions
I also suggest that you check the forum guideline How To Use The Enterprise DNA Support Forum. Not adhering to it may sometimes cause delay in getting an answer.
Please also check the How To Mask Sensitive Data thread for some tips on how to mask your pbix file.
Not completing your data may sometimes cause delay in getting an answer.
Just following up if you still need help with your inquiry?
If you do, kindly provide the information requested above so our experts and community members can help you further.
In case there won’t be any activity on it in the next few days, we’ll be tagging this post as Solved.
I just recently added the PBIX and the measure that doesn’t show any values.
Can someone help me sort this out please?