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
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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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