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.
Hi
I am trying to create a matrix vizual that allows me to view a number of values by month, one of them being the # of net work days between a projects start and end date, but with grouped by months (please see example)
March | April | May | |
Project1 | # of Network days for project 1 in march | # of Network days for project 1 in April | # of Network days for project 1 in May |
Project2 | # of Network days for project 2 in march | # of Network days for project 2 in April | # of Network days for project 2 in May
|
I currently have the following measure which uses the projects start and end date - how can i revise the code to bucket the number of work days into it's associated month?
Solved! Go to Solution.
OK. Here's one possible solution. Please read the description in the file and play around with the data to understand what's going on.
Best
D
I have two dimension on the rows of the matrix (the project name and people's names) - if there is only one person on the project, subtotals show up, but if there are multiple people, subtotals do not display and minimizing the project (using the +- icons) completely removes the project from the matrix.
Thank you - and forgive my naivety - Do you define this is in the measure itself or within the visual? I have multiple measures that I've created (with your help) - network days ,revenue, things like that - that I'd like to see the subtotals for.
Thank you for the granular answer - in most cases, I'd like aggregations to occur at the project leve (i.e., net work das for project 1 for april, etc).
Your last point is where I'm confused. Is there a way for PBI to dynamically know how many projects are being shown within the visual at that point? How would you apply the subtotal calculation to the project level in the dimension?
Thank you so much. Oddly, it seems that my issue was required a much simpler (although probably much less efficient) solution. I wrapped my exisitng measures in a SUMX with the table reference being the project table. Would you happen to have a suggestion to learn more about proper measure creation?
Thank you for the explanation. I guess my confusion surrounds how to write the dax within the meausure itself. I.e, I have multiple measure on the values section of the matrix - does each value measure have to be updated to include an aggregation or is the aggregation done with a new measure?
Can you expand on this? I think I'll need to do this, as subtotals and grand total do not show most projects...
Thanks for your reply - I have all of the components mentioned, though, when I try to add the measure to the 'Value' box in the matrix, I get the following:
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 |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |