Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi everyone,
I'm currently working with employees' IDs. I'm trying to have a matrix that will only show those employees who worked more than 44 days every quarter that the Matrix is showing (based on the slicer selection). I already grouped all my data into quarters and added a column (Compliant Q) to identify those quarters for each ID that is compliant with this condition. This how the backend table in my model looks like:
I then used "Compliant Q" column to filter out the non-compliant quarters.
And this is how the Matrix looks like:
I would like to create a measure that could do what the Matrix's "Row Subtotal" and the slicer combined are doing. I want to have a measure that sums total number of compliant quarters by ID based on my selection, to use it as a filter for this page in my report. I want my matrix to only show those IDs in which the 12 selected quarters are compliant with the 44 days condition. I also want this to be dynamic, so it will update based on the user's selection. In case the user selects 20 quarters I would like the matrix to only show those IDs in which the 20 selected quarters are compliant with the 44 days condition and so on... In the example I shared the matrix is also showing IDs that have less than 12 compliant months. I want to avoid that.
Does anyone have any ideas? I would really appreciate the help!
Thanks in advance,
Michelle
Solved! Go to Solution.
Hi, @MBisceglia
Maybe you can create a new measure to filter the displayed IDs.
Measure = IF(SELECTEDVALUE(WorkDays[Total worked days])>44,1,0)
Put the measure into the filter and set it equal to 1.
Of the 4 quarters selected, only this one id was eligible. Please check the attachment, does it match your desired result? What other values would you like to achieve, preferably with pictures to show them.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @MBisceglia
Maybe you can create a new measure to filter the displayed IDs.
Measure = IF(SELECTEDVALUE(WorkDays[Total worked days])>44,1,0)
Put the measure into the filter and set it equal to 1.
Of the 4 quarters selected, only this one id was eligible. Please check the attachment, does it match your desired result? What other values would you like to achieve, preferably with pictures to show them.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @MBisceglia
please try
Compliant Q 2 =
IF (
SUM ( WorkDays[Total worked days] )
= COUNTROWS ( ALLSELECTED ( WorkDays[Year-Quarter] ) ),
1,
BLANK ()
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
15 | |
11 | |
10 | |
10 |