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

Join 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.

Reply
Priya2007
Frequent Visitor

All and Filters

Hi ,

I have one filter on Visual on Projectperiod in the report.

I want to sum for all project period but the cost is coming from different table.

Can I have ALL filter condition on one table and other filters on different tables.

I am trying to use below measure :

 

CALCULATE (
SUM ( 'Project Costs'[Actual Cost] ),
Filter (ALL (projects(ProjectPeriod),
FILTER (
'Project Costs',
'Project Costs'[CATEGORY CODE] IN { "LAB", "SUBCON" }
),
FILTER ( CrossTable, CrossTable[Type] = "Act" )))
 
1 ACCEPTED SOLUTION
v-lionel-msft
Community Support
Community Support

Hi @Priya2007 ,

 

You can do like this, but before that you need to create relationships between the tables.

If you do not create table relationships, you can return the result, but the result may be incorrect.

 

Best regards,
Lionel Chen

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

1 REPLY 1
v-lionel-msft
Community Support
Community Support

Hi @Priya2007 ,

 

You can do like this, but before that you need to create relationships between the tables.

If you do not create table relationships, you can return the result, but the result may be incorrect.

 

Best regards,
Lionel Chen

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

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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