Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I have the below visual and I want to filter it to show those % attendance above or equal to 30%.
I tried implementing a visual filter as follows:
But the visual comes back empty.
How do i achieve this?
Solved! Go to Solution.
Hi @mp390988
Visual-level filters based on a measure in a Matrix visual are unfortunately pretty unintuitive.
They work by:
A safer way to get the result you want would be to create a secondary measure, and use it in the visual instead:
% attendance at least 30% =
VAR Threshold = 0.3
VAR PercentAttendance = [% attendance]
VAR Result =
IF ( PercentAttendance >= Threshold, PercentAttendance )
RETURN
Result
This will blank out any values (at the cell level) that are below the 30% threshold.
A side effect is that any rows/columns that are entirely blank as a result will be hidden. You can enable "Show items with no data" if you would like to display blank rows/columns.
Does this work as expected?
Hi @mp390988
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.
Hi @mp390988
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @mp390988
Could you please confirm if your query have been resolved the solution provided by @OwenAuger ? If they have, kindly mark the helpful response and accept it as the solution. This will assist other community members in resolving similar issues more efficiently.
Thank you
Hi @mp390988
Visual-level filters based on a measure in a Matrix visual are unfortunately pretty unintuitive.
They work by:
A safer way to get the result you want would be to create a secondary measure, and use it in the visual instead:
% attendance at least 30% =
VAR Threshold = 0.3
VAR PercentAttendance = [% attendance]
VAR Result =
IF ( PercentAttendance >= Threshold, PercentAttendance )
RETURN
Result
This will blank out any values (at the cell level) that are below the 30% threshold.
A side effect is that any rows/columns that are entirely blank as a result will be hidden. You can enable "Show items with no data" if you would like to display blank rows/columns.
Does this work as expected?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
69 | |
55 | |
37 | |
35 |
User | Count |
---|---|
85 | |
66 | |
59 | |
46 | |
45 |