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

View all the Fabric Data Days sessions on demand. View schedule

Reply
FZOU
Helper IV
Helper IV

Ignore external filter on dax formula

Hello ,

 

I'm trying to calculate the PDM global (market share) , and respresnt it by company, so i want to fix the denomirator in the divide function to not get affected by company column but i didn't find a solution.

 

This is my formula : 

PDM Global = DIVIDE([Volume N Market],[Volume N Market] ,0)
 
Any help please ?
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@FZOU , need to have more information on formula and tables. But the use of all to ignore filter can help

PDM Global = DIVIDE([Volume N Market],calculate([Volume N Market],all(company)) ,0)

 

https://www.sqlbi.com/articles/managing-all-functions-in-dax-all-allselected-allnoblankrow-allexcept...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@FZOU , need to have more information on formula and tables. But the use of all to ignore filter can help

PDM Global = DIVIDE([Volume N Market],calculate([Volume N Market],all(company)) ,0)

 

https://www.sqlbi.com/articles/managing-all-functions-in-dax-all-allselected-allnoblankrow-allexcept...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak it work's perfectly,thank you 🙂

vanessafvg
Super User
Super User

pdm global =
var denominator = x
return DIVIDE([Volume N Market],denominator ,0)




If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Pragati11
Super User
Super User

Hi @FZOU ,

 

How is your denominator [Volume N Market] getting calculated?

 

This is a measure that you must be calculating by summarising a column. Can you share tha calculation?

 

Thanks,

Pragati

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors