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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
mohd78
Frequent Visitor

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 , @mohd78 

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
mohd78
Frequent Visitor

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 , @mohd78 

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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