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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

calculate measurement based on filter

I have a budget dashboard from multiple sources. One of the sources is a SharePoint list.

 

This list contains multi-item and measurements.  I have created new measures to calculate the total equipment. This measurement has a multi-option filter, and every time we update the list, the total (the measurement calculation I created should change). But it's not.  Is there a way for that measurement to update and reflect the new items added to the list when I refresh the data, or how can I do that work?

 

mohd78_0-1672937359636.png

This measurement should be around 6000$. Is there any filter I can apply to update this measurement if an item is added? And the remaining amount should be about 18000$

1 ACCEPTED SOLUTION

Hi , @Anonymous 

According to your description, you want to filter the count dynamci , i think you can try to use the "Filter on this visual" methods.

You need to define your own filter logic in dax , and then put the measure on the "Filter on this visual". Or just filter the visual in this.
For more information, you can refer to :
Add a filter to a report in Power BI - Power BI | Microsoft Learn

 

 

 

If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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

2 REPLIES 2
Anonymous
Not applicable

This is the formula I used. But I need something to be auto-updated without listing the items or including all the items in the item column. also the same for the facility.
 
 
Equipment Total = CALCULATE (SUM ( 'Equipment Request'[Total] ),FILTER ('Equipment Request','Equipment Request'[Facility] IN {"HTS"} && [Item] IN { "Travel #2 placeholder", "placeholder for 3 2-day trips", "Ayva Desk 60 Inch Width"} && [Fund Certified] IN {"False"}

    )

)

Hi , @Anonymous 

According to your description, you want to filter the count dynamci , i think you can try to use the "Filter on this visual" methods.

You need to define your own filter logic in dax , and then put the measure on the "Filter on this visual". Or just filter the visual in this.
For more information, you can refer to :
Add a filter to a report in Power BI - Power BI | Microsoft Learn

 

 

 

If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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