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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Flitering

Hi 

 

Is it possible to write a measure that will return the a list of the highlighted item? 

 

Jlivenere-25_0-1619550215245.png

 

 

1 ACCEPTED SOLUTION

Hi, @Anonymous 

 

It may not be easy to get the desired result using the average function, but other functions can be used to achieve the purpose, such as 

average =DIVIDE ( SUM ( 'table'[Score] ), 9 )

OR:  average =DIVIDE ( SUM ( 'table'[Score] ), COUNTROWS ( 'table' ) + 1 ).

 

 

Is this the result you want? Hope this is useful to you

Please feel free to let me know If you have further questions

 

Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
v-angzheng-msft
Community Support
Community Support

 Hi, @Anonymous 

 

Try to create a calculate column like below:

Return =
IF (
    'Table'[name]
        IN {
        { "Sewing1" },
        { "Sewing3" },
        { "Receiving" },
        { "Quilting" },
        { "Matt Build" }
    },
    'Table'[name],
    BLANK ()
)

Note that to replace the text above with your actual text

I created a simple sample to illustrate this.

Sample:

v-angzheng-msft_0-1619756056397.jpeg

Use the slicer to filter out null values.

Result:

v-angzheng-msft_1-1619756056398.jpeg

v-angzheng-msft_2-1619756056399.jpeg

Please refer to the attachment below for details

 

 

Is this the result you want? Hope this is useful to you

Please feel free to let me know If you have further questions

 

Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

I want to know if its possible to overwrite the denominator when using average in Power BI. what I mean is in the table listed below I want the average of the 8 process but I want to divide by 9 instead of 8. is that possible

 

Jlivenere-25_0-1620225475808.png

 

Hi, @Anonymous 

 

It may not be easy to get the desired result using the average function, but other functions can be used to achieve the purpose, such as 

average =DIVIDE ( SUM ( 'table'[Score] ), 9 )

OR:  average =DIVIDE ( SUM ( 'table'[Score] ), COUNTROWS ( 'table' ) + 1 ).

 

 

Is this the result you want? Hope this is useful to you

Please feel free to let me know If you have further questions

 

Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

HI 

 

I tried both and they didnt work.

 

thanks 

John

amitchandak
Super User
Super User

@Anonymous , You can create a measure like

Countrows(filter(Table, Table[Name] in {"Process Audit Sweing 2", "Process Audit Loading & Swing" , "rocess Audit Foundation", "rocess Audit Unit Building"))

 

You can plot this with name in visual, if needed

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

This is what I got, I wanted to have seleted items in list, if I were to put them in a table.

 

 

Jlivenere-25_0-1619613896376.png

 

Anonymous
Not applicable

I got this 

 

Jlivenere-25_0-1619613504448.png

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors