Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am trying to create a lookup table that will contain 2 columns (projectID, activeMonth) from a main table of Projects that lists start and end dates (could be empty if project is still active). I want a lookup table that will tell me if the project was active during a specific month (up to 48 months back from date of report). I know how I would programtically iterate through each project row then check if it was active during any of the past 48 month, however, I can't think about how I would do this with DAX. If a project was only active for 3 months then it will only have 3 rows in the ActiveMonth table. Any ideas? Thanks!
Solved! Go to Solution.
Sounds a similar problem to this post
@parry2kprovided a solution that could be adapted to meet your needs.
Hi @tohare85
This should be doable using Query Editor and DAX formulas. Share a dataset and show the expected result.
Sounds a similar problem to this post
@parry2kprovided a solution that could be adapted to meet your needs.
Thanks @stretcharm. Reaching out to @parry2k to see how to change the granularity of his solution.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |