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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
DAXSouvik
Frequent Visitor

Visual Level filter Context not getting ignored in Total Turnover Measure.

I have a measure named Total Turnover which calculates the sum of Turnover as per the filters applied.

Total Turnover =

CALCULATE (
SUM ('GCF vw_FactGeographycategoryfocus'[TurnoverEuro]),
ALLSELECTED( 'GCF vw_FactGeographycategoryfocus')
)
 
When I am using this Total Turnover Measure in a table Visual the Total Turnover is getting calculated perfectly as per the filters that has been applied ignoring the row context in the table.
 
But when I am adding any Visual Level Filters to the Table visual the value of Total Turnover is getting changed , but i dont want the Total Turnover to change as per the Visual Level filters applied.
 
Can anyone please help me out in this scenario. 
Urgent Help needed.
2 REPLIES 2
v-chenwuz-msft
Community Support
Community Support

Hi @DAXSouvik ,

 

You can keep the filter you want by ALLEXCEPT() or remove filters by REMOVERFILTER() which you do not want to keep. Or All() to fix the result.

 

Best Regards

Community Support Team _ chenwu zhu

 

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

TheoC
Super User
Super User

Hi @DAXSouvik 

 

Take a look at this link and hopefully you'll be able to identify the cause: https://www.sqlbi.com/articles/the-definitive-guide-to-allselected/

 

All the best.

Theo 🙂

 

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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