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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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