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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
hidenseek9
Post Patron
Post Patron

Removing filters with allselected but does not work

Hi I cannot 

 

I have a simple table as below. 

I am calculating Net Sales and volume with a simple formula as below by just filtering on Phase and LineItem columns. 

Issue.png

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Net Sales - Actual CY = CALCULATE(SUM('RF ACT Data'[Value]),'RF ACT Data'[Phase]="Actual",'RF ACT Data'[Line Item]="Net Sales")
 
What I would like to do is to calculate Total Sales and Total Volume measures. 
 
However, when I write a measure as below, this does not work. 
It removes the segment filter, but the brand filter is still working. 
How can I solve this issue?
 
Net Sales Total- Actual CY =
                CALCULATE(
                    SUM('RF ACT Data'[Value]),
                        'RF ACT Data'[Phase]="Actual",
                        'RF ACT Data'[Line Item]="Net Sales",
                        ALLSELECTED('RF ACT Data'[Brand],'RF ACT Data'[Segment])
                       
                )

Issue 2.png

1 ACCEPTED SOLUTION
v-pnaroju-msft
Community Support
Community Support

Hi @hidenseek9,

Thank you for reaching out through the Microsoft Fabric Community Forum.

Please find attached the screenshots and the PBIX file, which may help in resolving the issue:

vpnarojumsft_0-1744213918303.pngvpnarojumsft_1-1744213940085.png

If you find our response helpful, kindly mark it as the accepted solution and consider giving kudos. This will assist other community members who may have similar queries.

Thank you.

View solution in original post

2 REPLIES 2
v-pnaroju-msft
Community Support
Community Support

Hi hidenseek9,

We have not received a response from you regarding the query and were following up to check if you have found a resolution. If you have identified a solution, we kindly request you to share it with the community, as it may be helpful to others facing a similar issue.

If you find the response helpful, please mark it as the accepted solution and provide kudos, as this will help other members with similar queries.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Hi @hidenseek9,

Thank you for reaching out through the Microsoft Fabric Community Forum.

Please find attached the screenshots and the PBIX file, which may help in resolving the issue:

vpnarojumsft_0-1744213918303.pngvpnarojumsft_1-1744213940085.png

If you find our response helpful, kindly mark it as the accepted solution and consider giving kudos. This will assist other community members who may have similar queries.

Thank you.

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.