Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
lottieritchie
Helper I
Helper I

Filtering in measures or filtering on a report - which is best practice

Hi, 

 

I'm just wondering which is best practice, to either build filters into my measures, or to use the filters on reports. 

I have, as an example, a measure telling me the total number of outstanding tickets our team needs to answer. 

I also want to see this information by priority. 

 

Example: 30 outstanding tickets; 15 High priority, 10 Medium priority, 5 Low priority. 

 

Should I build a new measure for each priority, or should I use the filters on the report page to filter my total outstanding tickets measure? 

 

Just wondering which is best practice as I know both work. 

 

Many thanks for your help. 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@lottieritchie , it depends on need. You have the option to use visual level filter.

 

but if you want them in the same visual, then you need separate measures. Please use filter and create separate measure

View solution in original post

timg
Solution Sage
Solution Sage

Hi,

This kinda depends on the reporting requirements. If a measure should always only show the high priority tickets, it may be best to hard code the filter into a measure, so that end-users can't accidentally change the filter. However, if your report users can receive extra value from the report by being able to compare how many tickets there are per category, you may be better off choosing a slicer or report filter. 

hope it helps!

 

regards,

 

Tim





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
timg
Solution Sage
Solution Sage

Hi,

This kinda depends on the reporting requirements. If a measure should always only show the high priority tickets, it may be best to hard code the filter into a measure, so that end-users can't accidentally change the filter. However, if your report users can receive extra value from the report by being able to compare how many tickets there are per category, you may be better off choosing a slicer or report filter. 

hope it helps!

 

regards,

 

Tim





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




amitchandak
Super User
Super User

@lottieritchie , it depends on need. You have the option to use visual level filter.

 

but if you want them in the same visual, then you need separate measures. Please use filter and create separate measure

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.